Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006371/0.006371, allocations: 101.1 kB / 15.88 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 194.4 kB / 16.79 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9523/0.9523, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 61 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1717, allocations: 80.94 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02133/0.1931, allocations: 20.74 MB / 0.6046 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.297/0.4901, allocations: 5.457 MB / 0.6099 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009234/0.4911, allocations: 22.53 kB / 0.6099 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.4921, allocations: 286.2 kB / 0.6102 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.4946, allocations: 0.8497 MB / 0.611 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.497, allocations: 0.8059 MB / 0.6118 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.4995, allocations: 2.29 MB / 0.6141 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.5002, allocations: 442.7 kB / 0.6145 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5013, allocations: 0.6146 MB / 0.6151 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.5019, allocations: 0.4969 MB / 0.6156 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.5019, allocations: 25.66 kB / 0.6156 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.504, allocations: 1.092 MB / 0.6167 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.5041, allocations: 131 kB / 0.6168 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.5045, allocations: 315.6 kB / 0.6171 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.5056, allocations: 0.8657 MB / 0.6179 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5056, allocations: 0 / 0.6179 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5056, allocations: 0 / 0.6179 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5056, allocations: 0 / 0.6179 GB, free: 34.77 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001629/0.5073, allocations: 1.042 MB / 0.619 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5073, allocations: 12.59 kB / 0.619 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.5082, allocations: 178.2 kB / 0.6191 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.5092, allocations: 0.5638 MB / 0.6197 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.5095, allocations: 84.14 kB / 0.6198 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.5096, allocations: 34.78 kB / 0.6198 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009018/0.5105, allocations: 0.498 MB / 0.6203 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.5105, allocations: 3.984 kB / 0.6203 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.5105, allocations: 14.03 kB / 0.6203 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5106, allocations: 13.16 kB / 0.6203 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.5115, allocations: 415.3 kB / 0.6207 GB, free: 33.61 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.514, allocations: 2.291 MB / 0.623 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.515, allocations: 377.2 kB / 0.6233 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.5154, allocations: 230.7 kB / 0.6235 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.5157, allocations: 341.4 kB / 0.6239 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.5163, allocations: 299.8 kB / 0.6241 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/0.5163, allocations: 0 / 0.6241 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002153/0.5185, allocations: 0.8606 MB / 0.625 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.5185, allocations: 86.95 kB / 0.6251 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.519, allocations: 0.4912 MB / 0.6255 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.5191, allocations: 32.67 kB / 0.6256 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.5192, allocations: 281.7 kB / 0.6258 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.5193, allocations: 103.7 kB / 0.6259 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5194, allocations: 82.3 kB / 0.626 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.5195, allocations: 359.1 kB / 0.6264 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.5199, allocations: 180.3 kB / 0.6265 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.5204, allocations: 267.3 kB / 0.6268 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.5212, allocations: 477.8 kB / 0.6273 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5213, allocations: 6.844 kB / 0.6273 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00128/0.5225, allocations: 0.6105 MB / 0.6279 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.5226, allocations: 42.45 kB / 0.6279 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5226, allocations: 0 / 0.6279 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.523, allocations: 78.12 kB / 0.628 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.5233, allocations: 81.3 kB / 0.628 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/0.5237, allocations: 0.5948 MB / 0.6286 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.5243, allocations: 70.97 kB / 0.6287 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.5243, allocations: 19 kB / 0.6287 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005567/0.5249, allocations: 319.1 kB / 0.629 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004416/0.5254, allocations: 267.7 kB / 0.6293 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000819/0.5262, allocations: 465.1 kB / 0.6297 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.5262, allocations: 3 kB / 0.6297 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001215/0.5274, allocations: 0.5979 MB / 0.6303 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.5275, allocations: 38.45 kB / 0.6303 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.5275, allocations: 0 / 0.6303 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.5276, allocations: 58.69 kB / 0.6304 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.528, allocations: 77.55 kB / 0.6305 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.5292, allocations: 1.638 MB / 0.6321 GB, free: 25.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.5298, allocations: 66.12 kB / 0.6321 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5298, allocations: 19.31 kB / 0.6321 GB, free: 25.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.53, allocations: 242.3 kB / 0.6324 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5301, allocations: 58.17 kB / 0.6324 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5315, allocations: 0.6491 MB / 0.6331 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5315, allocations: 2.656 kB / 0.6331 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5315, allocations: 0 / 0.6331 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.5326, allocations: 0.8103 MB / 0.6339 GB, free: 24.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5348, allocations: 1.302 MB / 0.6351 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5348, allocations: 0 / 0.6351 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.5351, allocations: 62.62 kB / 0.6352 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.5353, allocations: 55.22 kB / 0.6352 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.5353, allocations: 13.05 kB / 0.6353 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/0.5356, allocations: 0.5814 MB / 0.6358 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5356, allocations: 2.188 kB / 0.6358 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5373, allocations: 0.9839 MB / 0.6368 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.5375, allocations: 175.9 kB / 0.637 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5376, allocations: 9.25 kB / 0.637 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.5382, allocations: 66.89 kB / 0.637 GB, free: 23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.5383, allocations: 30.45 kB / 0.6371 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.5384, allocations: 20.36 kB / 0.6371 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003794/0.5387, allocations: 346.8 kB / 0.6374 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5387, allocations: 0 / 0.6374 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00118/0.5399, allocations: 347.8 kB / 0.6377 GB, free: 22.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007517/0.5407, allocations: 302 kB / 0.638 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.5429, allocations: 0.994 MB / 0.639 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.543, allocations: 0 / 0.639 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.5436, allocations: 328 kB / 0.6393 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.545, allocations: 242.1 kB / 0.6395 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.5473, allocations: 1.345 MB / 0.6409 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.5477, allocations: 0.8725 MB / 0.6417 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.5479, allocations: 49.06 kB / 0.6418 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5479, allocations: 4 kB / 0.6418 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.02458/0.5725, allocations: 11.52 MB / 0.653 GB, free: 19.16 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)