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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001872/0.001872, allocations: 191.9 kB / 16.14 MB, free: 6.707 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.474/1.474, allocations: 205.1 MB / 222 MB, free: 4.758 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.00137/0.00137, allocations: 56.39 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2657, allocations: 46.62 MB / 324.7 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4459/0.7116, allocations: 212.7 MB / 0.5247 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.7305, allocations: 13.72 MB / 0.5381 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.7322, allocations: 27.75 kB / 0.5382 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.734, allocations: 414 kB / 0.5385 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.746, allocations: 3.175 MB / 0.5416 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008294/0.7543, allocations: 2.46 MB / 0.5441 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.7587, allocations: 3.779 MB / 0.5477 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.7601, allocations: 0.6546 MB / 0.5484 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008232/0.7684, allocations: 2.802 MB / 0.5511 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.7706, allocations: 1.09 MB / 0.5522 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.7711, allocations: 64 kB / 0.5522 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.7842, allocations: 6.876 MB / 0.559 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.7852, allocations: 495.1 kB / 0.5594 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.7866, allocations: 0.5798 MB / 0.56 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.7989, allocations: 4.992 MB / 0.5649 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7989, allocations: 0 / 0.5649 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.7989, allocations: 0 / 0.5649 GB, free: 4.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.137e-05/0.799, allocations: 3.938 kB / 0.5649 GB, free: 4.359 MB / 430.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.006067/0.8051, allocations: 2.138 MB / 0.567 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8051, allocations: 12.03 kB / 0.567 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/0.8058, allocations: 126.7 kB / 0.5671 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.8073, allocations: 0.6901 MB / 0.5678 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.8074, allocations: 131.8 kB / 0.5679 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.8076, allocations: 86.81 kB / 0.568 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.8103, allocations: 1.459 MB / 0.5694 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.8104, allocations: 11.92 kB / 0.5694 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.8105, allocations: 37.16 kB / 0.5695 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-05/0.8106, allocations: 77.95 kB / 0.5695 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.8132, allocations: 1.471 MB / 0.571 GB, free: 13.99 MB / 446.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.01053/0.8237, allocations: 6.337 MB / 0.5772 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.8257, allocations: 0.9838 MB / 0.5781 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.8266, allocations: 0.5191 MB / 0.5786 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.8284, allocations: 2.062 MB / 0.5806 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.8284, allocations: 51.5 kB / 0.5807 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006043/0.829, allocations: 98.95 kB / 0.5808 GB, free: 3.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 5.39e-06/0.8291, allocations: 0 / 0.5808 GB, free: 3.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01792/0.847, allocations: 4.806 MB / 0.5855 GB, free: 14.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.8471, allocations: 119.8 kB / 0.5856 GB, free: 14.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.8483, allocations: 0.7737 MB / 0.5863 GB, free: 13.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.8485, allocations: 49.7 kB / 0.5864 GB, free: 13.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.8489, allocations: 444.5 kB / 0.5868 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.8493, allocations: 348 kB / 0.5871 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004838/0.8497, allocations: 254.7 kB / 0.5874 GB, free: 12.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8499, allocations: 402.7 kB / 0.5878 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.8513, allocations: 0.6266 MB / 0.5884 GB, free: 11.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.8528, allocations: 0.9537 MB / 0.5893 GB, free: 10.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.8559, allocations: 1.666 MB / 0.5909 GB, free: 8.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/0.8559, allocations: 8 kB / 0.5909 GB, free: 8.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004896/0.8608, allocations: 1.938 MB / 0.5928 GB, free: 6.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.751e-05/0.8609, allocations: 71.53 kB / 0.5929 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.861, allocations: 8 kB / 0.5929 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.8626, allocations: 312.5 kB / 0.5932 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8637, allocations: 279.5 kB / 0.5935 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.8653, allocations: 0.9134 MB / 0.5944 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.8666, allocations: 103.8 kB / 0.5945 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.8668, allocations: 75.97 kB / 0.5945 GB, free: 4.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001641/0.8685, allocations: 0.8537 MB / 0.5954 GB, free: 3.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001463/0.8699, allocations: 0.9459 MB / 0.5963 GB, free: 2.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002774/0.8727, allocations: 1.642 MB / 0.5979 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.457e-06/0.8728, allocations: 0 / 0.5979 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004029/0.8768, allocations: 1.918 MB / 0.5998 GB, free: 14.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.8769, allocations: 66.38 kB / 0.5998 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.8769, allocations: 12 kB / 0.5999 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.8783, allocations: 308.8 kB / 0.6001 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.8794, allocations: 271.5 kB / 0.6004 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.881, allocations: 0.9153 MB / 0.6013 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.8822, allocations: 103.8 kB / 0.6014 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.8824, allocations: 71.97 kB / 0.6015 GB, free: 13.12 MB / 478.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 (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.0004555/0.8829, allocations: 263.8 kB / 0.6017 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.8832, allocations: 102.8 kB / 0.6018 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.8873, allocations: 1.923 MB / 0.6037 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.8873, allocations: 8 kB / 0.6037 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.8873, allocations: 0 / 0.6037 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.8873, allocations: 11.97 kB / 0.6037 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/0.8935, allocations: 3.029 MB / 0.6067 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8935, allocations: 4 kB / 0.6067 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.8944, allocations: 183.7 kB / 0.6068 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.8961, allocations: 376.3 kB / 0.6072 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8962, allocations: 39.97 kB / 0.6072 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.8975, allocations: 0.8747 MB / 0.6081 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8975, allocations: 4 kB / 0.6081 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/0.902, allocations: 2.418 MB / 0.6105 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/0.9027, allocations: 327.8 kB / 0.6108 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.903, allocations: 28 kB / 0.6108 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9041, allocations: 83.8 kB / 0.6109 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.9043, allocations: 72.78 kB / 0.611 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.9045, allocations: 63.95 kB / 0.611 GB, free: 3.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009126/0.9054, allocations: 0.5693 MB / 0.6116 GB, free: 2.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9054, allocations: 3.938 kB / 0.6116 GB, free: 2.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003723/0.9091, allocations: 1.167 MB / 0.6127 GB, free: 1.426 MB / 478.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 (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.003796/0.913, allocations: 1.141 MB / 0.6138 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005853/0.9188, allocations: 2.624 MB / 0.6164 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.9189, allocations: 0.9375 kB / 0.6164 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.9206, allocations: 0.7399 MB / 0.6171 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.9237, allocations: 0.538 MB / 0.6176 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.9296, allocations: 2.892 MB / 0.6205 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.9305, allocations: 1.123 MB / 0.6216 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002454/0.933, allocations: 0.6096 MB / 0.6222 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.9335, allocations: 119.4 kB / 0.6223 GB, free: 7.594 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.9335, allocations: 0 / 0.6223 GB, free: 7.594 MB / 494.1 MB Notification: Performance of Templates: time 0.2311/1.165, allocations: 40.55 MB / 0.6619 GB, free: 202.8 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (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)