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.0008116/0.0008115, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9636/0.9636, allocations: 135.3 MB / 427.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 82.3 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.312/0.4728, allocations: 20.15 MB / 0.6083 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006738/0.4796, allocations: 5.383 MB / 0.6135 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.4804, allocations: 25.09 kB / 0.6136 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.4812, allocations: 284.2 kB / 0.6138 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.4833, allocations: 0.8474 MB / 0.6147 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4854, allocations: 0.817 MB / 0.6155 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.4876, allocations: 2.301 MB / 0.6177 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.4882, allocations: 430.8 kB / 0.6181 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.4892, allocations: 0.5993 MB / 0.6187 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.4897, allocations: 498 kB / 0.6192 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.4898, allocations: 22.44 kB / 0.6192 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.4917, allocations: 1.091 MB / 0.6203 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4918, allocations: 129.4 kB / 0.6204 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.4921, allocations: 323.3 kB / 0.6207 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009562/0.4931, allocations: 0.8616 MB / 0.6215 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4931, allocations: 0 / 0.6215 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4931, allocations: 0 / 0.6215 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.4931, allocations: 0 / 0.6215 GB, free: 33.1 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.001254/0.4944, allocations: 0.9219 MB / 0.6224 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4944, allocations: 9.625 kB / 0.6224 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.4952, allocations: 200.8 kB / 0.6226 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.4961, allocations: 0.5583 MB / 0.6232 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.4964, allocations: 91.36 kB / 0.6233 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.4965, allocations: 40.98 kB / 0.6233 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.4973, allocations: 0.5014 MB / 0.6238 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4973, allocations: 0 / 0.6238 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.4974, allocations: 17.31 kB / 0.6238 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4974, allocations: 12.53 kB / 0.6238 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.4983, allocations: 430 kB / 0.6242 GB, free: 31.99 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.002263/0.5006, allocations: 2.304 MB / 0.6265 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.5015, allocations: 399.2 kB / 0.6269 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.502, allocations: 240.1 kB / 0.6271 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.5022, allocations: 337.7 kB / 0.6274 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.5028, allocations: 308.8 kB / 0.6277 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.5028, allocations: 0 / 0.6277 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002059/0.5049, allocations: 0.8937 MB / 0.6286 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5049, allocations: 87.06 kB / 0.6287 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.5054, allocations: 497.1 kB / 0.6291 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5054, allocations: 35.23 kB / 0.6292 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5056, allocations: 277.1 kB / 0.6294 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.5056, allocations: 107.7 kB / 0.6295 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.5057, allocations: 32.5 kB / 0.6296 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.5058, allocations: 364.6 kB / 0.6299 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.5062, allocations: 191.4 kB / 0.6301 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.5066, allocations: 265.8 kB / 0.6304 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/0.5075, allocations: 491.9 kB / 0.6308 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5075, allocations: 2.562 kB / 0.6308 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001256/0.5088, allocations: 0.6299 MB / 0.6314 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.5089, allocations: 169.5 kB / 0.6316 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5089, allocations: 3.344 kB / 0.6316 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.5092, allocations: 69.12 kB / 0.6317 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.5095, allocations: 86.27 kB / 0.6318 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003152/0.5099, allocations: 0.5985 MB / 0.6323 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.5104, allocations: 86.44 kB / 0.6324 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.5105, allocations: 15.78 kB / 0.6324 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.5105, allocations: 7.281 kB / 0.6324 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001108/0.5116, allocations: 0.5655 MB / 0.633 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.5116, allocations: 3.188 kB / 0.633 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.5117, allocations: 49.02 kB / 0.633 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.5121, allocations: 85.86 kB / 0.6331 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.5131, allocations: 1.637 MB / 0.6347 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.5136, allocations: 77.17 kB / 0.6348 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.5137, allocations: 15.86 kB / 0.6348 GB, free: 25.81 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.0002522/0.5139, allocations: 306.7 kB / 0.6351 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.514, allocations: 58.38 kB / 0.6352 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.5153, allocations: 0.6624 MB / 0.6358 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5153, allocations: 7.375 kB / 0.6358 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.5153, allocations: 0 / 0.6358 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.5164, allocations: 0.8204 MB / 0.6366 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.5183, allocations: 1.329 MB / 0.6379 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.5183, allocations: 7.188 kB / 0.6379 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.5186, allocations: 69.53 kB / 0.638 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.5187, allocations: 42.47 kB / 0.638 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.5188, allocations: 10.28 kB / 0.638 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002418/0.519, allocations: 0.5719 MB / 0.6386 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.519, allocations: 3.281 kB / 0.6386 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.5206, allocations: 1.012 MB / 0.6396 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.5208, allocations: 186.9 kB / 0.6398 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.5209, allocations: 9.344 kB / 0.6398 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.5214, allocations: 61.56 kB / 0.6398 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.5215, allocations: 24.84 kB / 0.6399 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5216, allocations: 19.2 kB / 0.6399 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003044/0.5219, allocations: 346 kB / 0.6402 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5219, allocations: 4 kB / 0.6402 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009523/0.5228, allocations: 342.4 kB / 0.6405 GB, free: 22.57 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.0005545/0.5234, allocations: 301.8 kB / 0.6408 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.5252, allocations: 1.004 MB / 0.6418 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5252, allocations: 0 / 0.6418 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.5257, allocations: 342.8 kB / 0.6421 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.5271, allocations: 243.8 kB / 0.6424 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.529, allocations: 1.418 MB / 0.6438 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.5293, allocations: 0.8795 MB / 0.6446 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5294, allocations: 49.05 kB / 0.6447 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5295, allocations: 4 kB / 0.6447 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01939/0.5488, allocations: 11.42 MB / 0.6558 GB, free: 19.05 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)