Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001189/0.001189, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00138/0.00138, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3828, allocations: 80.19 MB / 0.5807 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01804/0.4009, allocations: 20.83 MB / 0.6011 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006938/0.4079, allocations: 5.376 MB / 0.6063 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009495/0.4089, allocations: 23.88 kB / 0.6064 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009239/0.4098, allocations: 355.5 kB / 0.6067 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.4122, allocations: 0.9174 MB / 0.6076 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.4145, allocations: 0.9209 MB / 0.6085 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.4163, allocations: 1.725 MB / 0.6102 GB, free: 56 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.417, allocations: 0.4896 MB / 0.6107 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.4188, allocations: 0.6977 MB / 0.6113 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.4195, allocations: 489.9 kB / 0.6118 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.4196, allocations: 40 kB / 0.6118 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4217, allocations: 1.119 MB / 0.6129 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.4218, allocations: 155.4 kB / 0.6131 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.4222, allocations: 326.3 kB / 0.6134 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.4239, allocations: 1.211 MB / 0.6146 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4239, allocations: 0 / 0.6146 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4239, allocations: 0 / 0.6146 GB, free: 11.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.424, allocations: 4 kB / 0.6146 GB, free: 11.54 MB / 462.1 MB 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.001589/0.4256, allocations: 1.038 MB / 0.6156 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4256, allocations: 8.031 kB / 0.6156 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.4265, allocations: 184 kB / 0.6158 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009793/0.4275, allocations: 0.5569 MB / 0.6163 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.4278, allocations: 92.92 kB / 0.6164 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.4279, allocations: 36 kB / 0.6164 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.4289, allocations: 496 kB / 0.6169 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.4289, allocations: 0 / 0.6169 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.429, allocations: 27.94 kB / 0.6169 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.429, allocations: 19.91 kB / 0.617 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.43, allocations: 410.6 kB / 0.6174 GB, free: 8.578 MB / 462.1 MB 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.002735/0.4327, allocations: 2.301 MB / 0.6196 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4338, allocations: 372.4 kB / 0.62 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.4343, allocations: 232.9 kB / 0.6202 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.4346, allocations: 344.6 kB / 0.6205 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.4352, allocations: 306.1 kB / 0.6208 GB, free: 4.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.4352, allocations: 0 / 0.6208 GB, free: 4.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002296/0.4375, allocations: 0.8624 MB / 0.6216 GB, free: 3.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4376, allocations: 81.11 kB / 0.6217 GB, free: 3.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.4381, allocations: 498.9 kB / 0.6222 GB, free: 3.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.4382, allocations: 33.7 kB / 0.6222 GB, free: 3.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.4384, allocations: 284.4 kB / 0.6225 GB, free: 2.926 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.4385, allocations: 98.55 kB / 0.6226 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4386, allocations: 77.59 kB / 0.6227 GB, free: 2.746 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4388, allocations: 374.7 kB / 0.623 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.4393, allocations: 180.7 kB / 0.6232 GB, free: 2.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.4398, allocations: 265.1 kB / 0.6234 GB, free: 1.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.4408, allocations: 474.2 kB / 0.6239 GB, free: 1.402 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4408, allocations: 0 / 0.6239 GB, free: 1.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00143/0.4422, allocations: 0.6241 MB / 0.6245 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.4423, allocations: 40.19 kB / 0.6245 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4423, allocations: 3.938 kB / 0.6246 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.4426, allocations: 72.95 kB / 0.6246 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.443, allocations: 83.88 kB / 0.6247 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005414/0.4436, allocations: 0.5952 MB / 0.6253 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.4441, allocations: 67.73 kB / 0.6253 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.4441, allocations: 15.98 kB / 0.6254 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005815/0.4447, allocations: 316 kB / 0.6257 GB, free: 15.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004872/0.4452, allocations: 257.1 kB / 0.6259 GB, free: 15.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009238/0.4461, allocations: 473 kB / 0.6264 GB, free: 14.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.4461, allocations: 0 / 0.6264 GB, free: 14.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001263/0.4474, allocations: 0.5966 MB / 0.6269 GB, free: 14.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4475, allocations: 37.69 kB / 0.627 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.4475, allocations: 4 kB / 0.627 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.4476, allocations: 52.83 kB / 0.627 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.448, allocations: 83.97 kB / 0.6271 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.4495, allocations: 1.799 MB / 0.6289 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.45, allocations: 59.88 kB / 0.6289 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.45, allocations: 19.98 kB / 0.6289 GB, free: 11.94 MB / 478.1 MB 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.0002154/0.4502, allocations: 233.9 kB / 0.6292 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4504, allocations: 63.25 kB / 0.6292 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4519, allocations: 0.6488 MB / 0.6299 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4519, allocations: 7.984 kB / 0.6299 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.4519, allocations: 0 / 0.6299 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/0.4532, allocations: 0.8143 MB / 0.6307 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.4556, allocations: 1.303 MB / 0.6319 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4556, allocations: 0 / 0.6319 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.456, allocations: 71.98 kB / 0.632 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.4561, allocations: 44.83 kB / 0.632 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.4562, allocations: 15.98 kB / 0.6321 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003821/0.4566, allocations: 0.5757 MB / 0.6326 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4566, allocations: 4.031 kB / 0.6326 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.4585, allocations: 0.9799 MB / 0.6336 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.4588, allocations: 176.3 kB / 0.6338 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4589, allocations: 12 kB / 0.6338 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.4595, allocations: 40.02 kB / 0.6338 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.4596, allocations: 31.94 kB / 0.6338 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.4596, allocations: 23.97 kB / 0.6339 GB, free: 6.645 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.4601, allocations: 342.8 kB / 0.6342 GB, free: 6.312 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4601, allocations: 0 / 0.6342 GB, free: 6.312 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001074/0.4611, allocations: 339.5 kB / 0.6345 GB, free: 5.98 MB / 478.1 MB 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.0008264/0.462, allocations: 313.2 kB / 0.6348 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.4643, allocations: 0.9985 MB / 0.6358 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4643, allocations: 0 / 0.6358 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.465, allocations: 328.3 kB / 0.6361 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4662, allocations: 215.8 kB / 0.6363 GB, free: 4.109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4686, allocations: 1.171 MB / 0.6374 GB, free: 2.895 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.469, allocations: 0.8784 MB / 0.6383 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4692, allocations: 47.42 kB / 0.6383 GB, free: 1.941 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4692, allocations: 7.938 kB / 0.6384 GB, free: 1.934 MB / 478.1 MB Notification: Performance of Templates: time 0.01667/0.4859, allocations: 11.41 MB / 0.6495 GB, free: 6.605 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)