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.008049/0.00805, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00126/0.00126, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.661/1.661, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.001417/0.001417, allocations: 50 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1214, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5868/0.7083, allocations: 212.7 MB / 0.5722 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.727, allocations: 13.2 MB / 0.5851 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.7283, allocations: 23.88 kB / 0.5851 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.7302, allocations: 465.2 kB / 0.5855 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.7427, allocations: 3.627 MB / 0.5891 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009362/0.7521, allocations: 2.847 MB / 0.5919 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004631/0.7567, allocations: 2.622 MB / 0.5944 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.7586, allocations: 0.7903 MB / 0.5952 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009973/0.7686, allocations: 3.108 MB / 0.5982 GB, free: 120 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.7713, allocations: 1.063 MB / 0.5993 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.772, allocations: 120 kB / 0.5994 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.7873, allocations: 6.7 MB / 0.6059 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.7886, allocations: 0.5262 MB / 0.6064 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.7905, allocations: 0.6458 MB / 0.6071 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.8049, allocations: 4.932 MB / 0.6119 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.805, allocations: 0 / 0.6119 GB, free: 2.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.805, allocations: 0 / 0.6119 GB, free: 2.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.402e-05/0.8051, allocations: 0 / 0.6119 GB, free: 2.102 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.006951/0.812, allocations: 2.203 MB / 0.614 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8121, allocations: 8.031 kB / 0.614 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007203/0.8128, allocations: 135.3 kB / 0.6142 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.8144, allocations: 0.7246 MB / 0.6149 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.8145, allocations: 129.4 kB / 0.615 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.8147, allocations: 87.94 kB / 0.6151 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.8175, allocations: 1.467 MB / 0.6165 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.8175, allocations: 0 / 0.6165 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8177, allocations: 39.94 kB / 0.6166 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.8178, allocations: 77.95 kB / 0.6166 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.8205, allocations: 1.468 MB / 0.6181 GB, free: 11.58 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.00952/0.83, allocations: 6.362 MB / 0.6243 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.832, allocations: 0.9877 MB / 0.6252 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.8328, allocations: 0.523 MB / 0.6257 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.8346, allocations: 2.059 MB / 0.6278 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.8347, allocations: 55.5 kB / 0.6278 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005586/0.8352, allocations: 91.25 kB / 0.6279 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 4.208e-06/0.8353, allocations: 0 / 0.6279 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.01638/0.8516, allocations: 4.824 MB / 0.6326 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.8518, allocations: 115.8 kB / 0.6327 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8531, allocations: 0.7777 MB / 0.6335 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.8533, allocations: 45.7 kB / 0.6335 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.8537, allocations: 468.4 kB / 0.634 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.8541, allocations: 353 kB / 0.6343 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.8546, allocations: 250.8 kB / 0.6345 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.8548, allocations: 410.7 kB / 0.6349 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8561, allocations: 0.6228 MB / 0.6355 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.8576, allocations: 0.9576 MB / 0.6365 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.8604, allocations: 1.658 MB / 0.6381 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.8604, allocations: 8 kB / 0.6381 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004067/0.8645, allocations: 1.942 MB / 0.64 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.8646, allocations: 67.98 kB / 0.6401 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.8646, allocations: 12 kB / 0.6401 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.8661, allocations: 308.6 kB / 0.6404 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.8672, allocations: 279.5 kB / 0.6406 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.8687, allocations: 0.8998 MB / 0.6415 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.8698, allocations: 64.03 kB / 0.6416 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.87, allocations: 79.97 kB / 0.6417 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001669/0.8716, allocations: 0.8537 MB / 0.6425 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001598/0.8732, allocations: 0.9459 MB / 0.6434 GB, free: 108 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2371/1.11, allocations: 1.633 MB / 0.645 GB, free: 212.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.207e-05/1.11, allocations: 3.281 kB / 0.645 GB, free: 212.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.007253/1.118, allocations: 1.916 MB / 0.6469 GB, free: 212.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/1.118, allocations: 67.92 kB / 0.6469 GB, free: 212.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.118, allocations: 11.09 kB / 0.647 GB, free: 212.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/1.12, allocations: 312.8 kB / 0.6473 GB, free: 212.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.121, allocations: 272.5 kB / 0.6475 GB, free: 212.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.123, allocations: 0.9127 MB / 0.6484 GB, free: 211.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/1.124, allocations: 60.98 kB / 0.6485 GB, free: 211.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.124, allocations: 78.2 kB / 0.6485 GB, free: 211.6 MB / 0.5137 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.0004365/1.125, allocations: 259.8 kB / 0.6488 GB, free: 211.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/1.125, allocations: 111.1 kB / 0.6489 GB, free: 211.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/1.129, allocations: 1.915 MB / 0.6508 GB, free: 210.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.129, allocations: 13.27 kB / 0.6508 GB, free: 210.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.129, allocations: 0 / 0.6508 GB, free: 210.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.129, allocations: 7.688 kB / 0.6508 GB, free: 210.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/1.136, allocations: 3.035 MB / 0.6538 GB, free: 209.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.136, allocations: 2.219 kB / 0.6538 GB, free: 209.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/1.137, allocations: 182.9 kB / 0.6539 GB, free: 209.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/1.138, allocations: 375.8 kB / 0.6543 GB, free: 209.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.138, allocations: 36.81 kB / 0.6543 GB, free: 209.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/1.14, allocations: 0.8797 MB / 0.6552 GB, free: 208.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.14, allocations: 2.688 kB / 0.6552 GB, free: 208.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/1.144, allocations: 2.419 MB / 0.6575 GB, free: 207.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/1.145, allocations: 332.1 kB / 0.6579 GB, free: 207.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/1.145, allocations: 34.7 kB / 0.6579 GB, free: 207.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.146, allocations: 63.8 kB / 0.658 GB, free: 207.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.146, allocations: 76.55 kB / 0.658 GB, free: 207.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.147, allocations: 55.05 kB / 0.6581 GB, free: 207.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001002/1.148, allocations: 0.5717 MB / 0.6586 GB, free: 207.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 0 / 0.6586 GB, free: 207.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003873/1.151, allocations: 1.176 MB / 0.6598 GB, free: 207 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.003244/1.155, allocations: 1.165 MB / 0.6609 GB, free: 206.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005481/1.16, allocations: 2.635 MB / 0.6635 GB, free: 205.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.16, allocations: 3.062 kB / 0.6635 GB, free: 205.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.162, allocations: 0.7524 MB / 0.6642 GB, free: 205.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.164, allocations: 0.5492 MB / 0.6648 GB, free: 205.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/1.169, allocations: 2.535 MB / 0.6672 GB, free: 203.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.17, allocations: 1.122 MB / 0.6683 GB, free: 202.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001831/1.172, allocations: 0.6113 MB / 0.6689 GB, free: 202.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/1.172, allocations: 119.4 kB / 0.6691 GB, free: 202.6 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/1.172, allocations: 0 / 0.6691 GB, free: 202.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.05655/1.229, allocations: 41.95 MB / 0.71 GB, free: 160.8 MB / 0.5137 GB 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)