Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009184, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2661, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4726/0.7387, allocations: 165.9 MB / 492.4 MB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7551, allocations: 13.42 MB / 0.4939 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.7565, allocations: 28.41 kB / 0.494 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.7576, allocations: 360.5 kB / 0.4943 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009111/0.7667, allocations: 2.722 MB / 0.497 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006275/0.773, allocations: 1.906 MB / 0.4988 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.7757, allocations: 1.437 MB / 0.5002 GB, free: 440 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.7766, allocations: 0.6463 MB / 0.5009 GB, free: 168 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.7817, allocations: 2.115 MB / 0.5029 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.7831, allocations: 0.751 MB / 0.5037 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7833, allocations: 60.5 kB / 0.5037 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.7953, allocations: 5.377 MB / 0.509 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007529/0.7961, allocations: 457.6 kB / 0.5094 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.7967, allocations: 240.2 kB / 0.5096 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007186/0.8039, allocations: 2.985 MB / 0.5125 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8039, allocations: 0 / 0.5125 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8039, allocations: 0 / 0.5125 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.804, allocations: 8 kB / 0.5125 GB, free: 12.85 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004925/0.8089, allocations: 1.831 MB / 0.5143 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.809, allocations: 12.03 kB / 0.5143 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.8094, allocations: 122.7 kB / 0.5145 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.8107, allocations: 0.6703 MB / 0.5151 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.8108, allocations: 132.7 kB / 0.5152 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.811, allocations: 90.84 kB / 0.5153 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.8131, allocations: 1.453 MB / 0.5168 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.8132, allocations: 0 / 0.5168 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.8133, allocations: 40.05 kB / 0.5168 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/0.8134, allocations: 76.48 kB / 0.5169 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.8156, allocations: 1.459 MB / 0.5183 GB, free: 8.047 MB / 398.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.008713/0.8243, allocations: 6.386 MB / 0.5245 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.826, allocations: 0.9896 MB / 0.5255 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.8275, allocations: 1.732 MB / 0.5272 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.8275, allocations: 46.12 kB / 0.5272 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005465/0.8281, allocations: 101.6 kB / 0.5273 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.8281, allocations: 0 / 0.5273 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.01599/0.8441, allocations: 4.958 MB / 0.5322 GB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.8442, allocations: 119.8 kB / 0.5323 GB, free: 11.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.8452, allocations: 0.7724 MB / 0.533 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8453, allocations: 47.02 kB / 0.5331 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.8456, allocations: 457 kB / 0.5335 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.8459, allocations: 340.7 kB / 0.5338 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.846, allocations: 30.06 kB / 0.5339 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8462, allocations: 398.5 kB / 0.5342 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.8473, allocations: 0.6078 MB / 0.5348 GB, free: 9.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8487, allocations: 0.9509 MB / 0.5358 GB, free: 8.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.85, allocations: 0.7933 MB / 0.5365 GB, free: 8.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8501, allocations: 6.906 kB / 0.5366 GB, free: 8.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003591/0.8537, allocations: 1.916 MB / 0.5384 GB, free: 6.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001675/0.8553, allocations: 4.069 MB / 0.5424 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.8554, allocations: 12 kB / 0.5424 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.857, allocations: 330.6 kB / 0.5427 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.858, allocations: 273.5 kB / 0.543 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.8596, allocations: 0.9219 MB / 0.5439 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.8608, allocations: 105.6 kB / 0.544 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8609, allocations: 85.22 kB / 0.5441 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.861, allocations: 4 kB / 0.5441 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003302/0.8643, allocations: 1.811 MB / 0.5458 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8643, allocations: 12.06 kB / 0.5458 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8658, allocations: 326 kB / 0.5462 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8668, allocations: 279.2 kB / 0.5464 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.8683, allocations: 0.9192 MB / 0.5473 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8694, allocations: 109 kB / 0.5474 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.8696, allocations: 78.47 kB / 0.5475 GB, free: 14.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007946/0.8704, allocations: 416.7 kB / 0.5479 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.8706, allocations: 94.88 kB / 0.548 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.8745, allocations: 1.95 MB / 0.5499 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8745, allocations: 12 kB / 0.5499 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.8745, allocations: 0 / 0.5499 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.8745, allocations: 7.969 kB / 0.5499 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/0.8801, allocations: 3.046 MB / 0.5529 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8801, allocations: 4 kB / 0.5529 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.881, allocations: 182.7 kB / 0.5531 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.8829, allocations: 405.3 kB / 0.5535 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.883, allocations: 38.28 kB / 0.5535 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8844, allocations: 0.8904 MB / 0.5544 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8844, allocations: 2.531 kB / 0.5544 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.8888, allocations: 2.495 MB / 0.5568 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/0.8896, allocations: 340.7 kB / 0.5571 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.8899, allocations: 31.88 kB / 0.5572 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.891, allocations: 94.52 kB / 0.5572 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.8911, allocations: 71.16 kB / 0.5573 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.8913, allocations: 59.58 kB / 0.5574 GB, free: 6.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000831/0.8921, allocations: 0.5455 MB / 0.5579 GB, free: 6.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8922, allocations: 0 / 0.5579 GB, free: 6.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004451/0.8966, allocations: 1.153 MB / 0.559 GB, free: 5.105 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004016/0.9006, allocations: 1.125 MB / 0.5601 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005394/0.906, allocations: 2.631 MB / 0.5627 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.547e-06/0.9061, allocations: 8.562 kB / 0.5627 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.9075, allocations: 0.7426 MB / 0.5634 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.9102, allocations: 497.7 kB / 0.5639 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/0.9173, allocations: 2.912 MB / 0.5667 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.9183, allocations: 1.141 MB / 0.5679 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002903/0.9212, allocations: 0.6055 MB / 0.5685 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.9218, allocations: 125 kB / 0.5686 GB, free: 12.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9218, allocations: 0 / 0.5686 GB, free: 12.76 MB / 446.1 MB Notification: Performance of Templates: time 0.06637/0.9882, allocations: 38.46 MB / 0.6061 GB, free: 6.367 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) Environment - environmentSimulation: