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.00117/0.001171, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001357/0.001357, allocations: 181.1 kB / 17.2 MB, free: 5.914 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.672/1.672, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0004878/0.0004878, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 47.57 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4709/0.7534, allocations: 165.9 MB / 493.6 MB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02053/0.774, allocations: 13.42 MB / 0.4952 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.7757, allocations: 27.59 kB / 0.4952 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.7771, allocations: 360.8 kB / 0.4955 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.7881, allocations: 2.727 MB / 0.4982 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006617/0.7947, allocations: 1.914 MB / 0.5001 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.7978, allocations: 1.424 MB / 0.5014 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.7989, allocations: 0.6509 MB / 0.5021 GB, free: 184 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005776/0.8047, allocations: 2.108 MB / 0.5041 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.8067, allocations: 0.7513 MB / 0.5049 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.8069, allocations: 60.53 kB / 0.5049 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.8189, allocations: 5.381 MB / 0.5102 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.82, allocations: 453.1 kB / 0.5106 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.8207, allocations: 238.4 kB / 0.5108 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.8285, allocations: 2.99 MB / 0.5138 GB, free: 12.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8286, allocations: 0 / 0.5138 GB, free: 12.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.8286, allocations: 0 / 0.5138 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.8286, allocations: 2.906 kB / 0.5138 GB, free: 12.87 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.005084/0.8337, allocations: 1.832 MB / 0.5156 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8337, allocations: 8.031 kB / 0.5156 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.8342, allocations: 130.1 kB / 0.5157 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.8355, allocations: 0.6606 MB / 0.5163 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.8357, allocations: 140.3 kB / 0.5165 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.8358, allocations: 93 kB / 0.5166 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.838, allocations: 1.447 MB / 0.518 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.8381, allocations: 6.906 kB / 0.518 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.8382, allocations: 36.5 kB / 0.518 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.8383, allocations: 70.22 kB / 0.5181 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.8405, allocations: 1.467 MB / 0.5195 GB, free: 8.055 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.008635/0.8491, allocations: 6.386 MB / 0.5257 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.8509, allocations: 0.989 MB / 0.5267 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.8523, allocations: 1.734 MB / 0.5284 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.8523, allocations: 45.81 kB / 0.5285 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005093/0.8529, allocations: 102.8 kB / 0.5285 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=84): time 3.306e-06/0.8529, allocations: 0 / 0.5285 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.01523/0.8681, allocations: 4.959 MB / 0.5334 GB, free: 11.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.8682, allocations: 118.7 kB / 0.5335 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.8692, allocations: 0.7756 MB / 0.5343 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.8693, allocations: 49.95 kB / 0.5343 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.8696, allocations: 441.5 kB / 0.5347 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.8699, allocations: 350.2 kB / 0.5351 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.87, allocations: 22.73 kB / 0.5351 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8702, allocations: 410.6 kB / 0.5355 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.8713, allocations: 0.6067 MB / 0.5361 GB, free: 9.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.8725, allocations: 0.9474 MB / 0.537 GB, free: 8.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8738, allocations: 0.7907 MB / 0.5378 GB, free: 8.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.8739, allocations: 4 kB / 0.5378 GB, free: 8.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003467/0.8773, allocations: 1.919 MB / 0.5396 GB, free: 6.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001546/0.8789, allocations: 4.072 MB / 0.5436 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.8789, allocations: 12 kB / 0.5436 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.8805, allocations: 325.5 kB / 0.5439 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8815, allocations: 278.5 kB / 0.5442 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.883, allocations: 0.9208 MB / 0.5451 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.8843, allocations: 111.3 kB / 0.5452 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.8844, allocations: 75.72 kB / 0.5453 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.8845, allocations: 4 kB / 0.5453 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/0.8877, allocations: 1.805 MB / 0.5471 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8878, allocations: 12 kB / 0.5471 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.8892, allocations: 340 kB / 0.5474 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.8902, allocations: 274.8 kB / 0.5477 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.8917, allocations: 0.9194 MB / 0.5485 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.8928, allocations: 106 kB / 0.5487 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.8929, allocations: 78.22 kB / 0.5487 GB, free: 14.23 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.0006754/0.8936, allocations: 419.8 kB / 0.5491 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.8938, allocations: 94.88 kB / 0.5492 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.8975, allocations: 1.944 MB / 0.5511 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.8975, allocations: 12 kB / 0.5511 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8975, allocations: 1.969 kB / 0.5511 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.8975, allocations: 3.984 kB / 0.5511 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.9027, allocations: 3.059 MB / 0.5541 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.9027, allocations: 192 / 0.5541 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/0.9035, allocations: 188.3 kB / 0.5543 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.9054, allocations: 394.2 kB / 0.5547 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.9055, allocations: 42.47 kB / 0.5547 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.9068, allocations: 0.8918 MB / 0.5556 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9068, allocations: 4 kB / 0.5556 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.9111, allocations: 2.494 MB / 0.558 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.9118, allocations: 345 kB / 0.5584 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.912, allocations: 35.31 kB / 0.5584 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.9129, allocations: 88.34 kB / 0.5585 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.9131, allocations: 68.73 kB / 0.5585 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.9132, allocations: 61.64 kB / 0.5586 GB, free: 6.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007061/0.9139, allocations: 0.5454 MB / 0.5591 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9139, allocations: 4 kB / 0.5591 GB, free: 6.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004691/0.9186, allocations: 1.155 MB / 0.5603 GB, free: 5.113 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.003863/0.9225, allocations: 1.119 MB / 0.5614 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004986/0.9275, allocations: 2.633 MB / 0.5639 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.9276, allocations: 448 / 0.5639 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.929, allocations: 0.755 MB / 0.5647 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.9313, allocations: 494.5 kB / 0.5651 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.9373, allocations: 2.905 MB / 0.568 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9385, allocations: 1.138 MB / 0.5691 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003763/0.9422, allocations: 0.6093 MB / 0.5697 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.9428, allocations: 119.9 kB / 0.5698 GB, free: 12.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.9428, allocations: 0 / 0.5698 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Templates: time 0.09566/1.038, allocations: 38.48 MB / 0.6074 GB, free: 6.375 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: