Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001122/0.001122, allocations: 113.9 kB / 17.07 MB, free: 5.973 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.001294/0.001294, allocations: 198.8 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001198/0.001198, allocations: 51.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1004, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.8995/0.9999, allocations: 212.8 MB / 0.5735 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/1.019, allocations: 13.19 MB / 0.5863 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/1.02, allocations: 23.28 kB / 0.5864 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/1.022, allocations: 470.1 kB / 0.5868 GB, free: 1.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/1.034, allocations: 3.624 MB / 0.5903 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008253/1.042, allocations: 2.854 MB / 0.5931 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004078/1.046, allocations: 2.624 MB / 0.5957 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/1.048, allocations: 0.7873 MB / 0.5965 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009045/1.057, allocations: 3.106 MB / 0.5995 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/1.06, allocations: 1.069 MB / 0.6005 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003495/1.06, allocations: 120.8 kB / 0.6007 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01689/1.077, allocations: 6.697 MB / 0.6072 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/1.079, allocations: 0.541 MB / 0.6077 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/1.08, allocations: 0.6346 MB / 0.6083 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01584/1.096, allocations: 4.911 MB / 0.6131 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.096, allocations: 0 / 0.6131 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/1.096, allocations: 0.875 kB / 0.6131 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/1.096, allocations: 2.594 kB / 0.6131 GB, free: 15.25 MB / 494.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.006319/1.102, allocations: 2.142 MB / 0.6152 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.102, allocations: 9.75 kB / 0.6152 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/1.103, allocations: 125 kB / 0.6154 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/1.104, allocations: 0.7153 MB / 0.6161 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/1.105, allocations: 139.7 kB / 0.6162 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.105, allocations: 88.94 kB / 0.6163 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/1.107, allocations: 1.462 MB / 0.6177 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/1.107, allocations: 0 / 0.6177 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/1.107, allocations: 39.86 kB / 0.6177 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-05/1.107, allocations: 77.92 kB / 0.6178 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.11, allocations: 1.469 MB / 0.6193 GB, free: 12.63 MB / 494.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.009216/1.119, allocations: 6.348 MB / 0.6255 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/1.121, allocations: 0.9756 MB / 0.6264 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/1.122, allocations: 0.5348 MB / 0.6269 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/1.124, allocations: 2.062 MB / 0.6289 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.124, allocations: 52.16 kB / 0.629 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006212/1.124, allocations: 95.27 kB / 0.6291 GB, free: 5.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 8.005e-06/1.124, allocations: 0.7812 kB / 0.6291 GB, free: 5.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.01899/1.143, allocations: 4.801 MB / 0.6338 GB, free: 1.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/1.143, allocations: 115.8 kB / 0.6339 GB, free: 1.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.145, allocations: 0.7737 MB / 0.6346 GB, free: 316 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/1.145, allocations: 49.7 kB / 0.6347 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/1.145, allocations: 449 kB / 0.6351 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/1.146, allocations: 347.5 kB / 0.6354 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005009/1.146, allocations: 250.7 kB / 0.6357 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.146, allocations: 406.7 kB / 0.6361 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.148, allocations: 0.6189 MB / 0.6367 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.149, allocations: 0.9568 MB / 0.6376 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/1.152, allocations: 1.66 MB / 0.6392 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.152, allocations: 4 kB / 0.6392 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004226/1.156, allocations: 1.941 MB / 0.6411 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/1.157, allocations: 68.33 kB / 0.6412 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/1.157, allocations: 12 kB / 0.6412 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/1.158, allocations: 312.4 kB / 0.6415 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.159, allocations: 282.7 kB / 0.6418 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/1.161, allocations: 0.902 MB / 0.6427 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.162, allocations: 63.91 kB / 0.6427 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.162, allocations: 79.97 kB / 0.6428 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001704/1.164, allocations: 0.8538 MB / 0.6436 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00163/1.166, allocations: 0.9451 MB / 0.6446 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002873/1.169, allocations: 1.636 MB / 0.6462 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.138e-05/1.169, allocations: 4 kB / 0.6462 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004188/1.173, allocations: 1.907 MB / 0.648 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.173, allocations: 63.41 kB / 0.6481 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.173, allocations: 13.88 kB / 0.6481 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/1.174, allocations: 311.2 kB / 0.6484 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.175, allocations: 274.6 kB / 0.6486 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/1.177, allocations: 0.9131 MB / 0.6495 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.178, allocations: 67.94 kB / 0.6496 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.178, allocations: 75.97 kB / 0.6497 GB, free: 428 kB / 0.4981 GB 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 (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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005718/1.179, allocations: 271 kB / 0.6499 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/1.179, allocations: 98.81 kB / 0.65 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/1.184, allocations: 1.913 MB / 0.6519 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.184, allocations: 12 kB / 0.6519 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.184, allocations: 0 / 0.6519 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.184, allocations: 3.984 kB / 0.6519 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/1.19, allocations: 3.031 MB / 0.6549 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.19, allocations: 3.938 kB / 0.6549 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/1.191, allocations: 189.4 kB / 0.6551 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/1.192, allocations: 375.7 kB / 0.6554 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.192, allocations: 43.97 kB / 0.6555 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/1.194, allocations: 0.8685 MB / 0.6563 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.194, allocations: 8.688 kB / 0.6563 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/1.199, allocations: 2.417 MB / 0.6587 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/1.2, allocations: 319.8 kB / 0.659 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/1.2, allocations: 27.98 kB / 0.659 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.201, allocations: 63.89 kB / 0.6591 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.201, allocations: 76.17 kB / 0.6591 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.201, allocations: 55.97 kB / 0.6592 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009465/1.202, allocations: 0.5693 MB / 0.6597 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.202, allocations: 0 / 0.6597 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004482/1.207, allocations: 1.163 MB / 0.6609 GB, free: 4.844 MB / 0.5137 GB 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 (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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004321/1.211, allocations: 1.163 MB / 0.662 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005761/1.217, allocations: 2.636 MB / 0.6646 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.217, allocations: 448 / 0.6646 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.219, allocations: 0.7386 MB / 0.6653 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.222, allocations: 0.5563 MB / 0.6659 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/1.228, allocations: 2.5 MB / 0.6683 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/1.229, allocations: 1.123 MB / 0.6694 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002305/1.231, allocations: 0.6174 MB / 0.67 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/1.232, allocations: 119.4 kB / 0.6701 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 5.671e-06/1.232, allocations: 0 / 0.6701 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.06482/1.297, allocations: 41.95 MB / 0.7111 GB, free: 1.531 MB / 0.5606 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1)