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.001509/0.001517, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001746/0.001746, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.561/1.561, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001282/0.001282, allocations: 55.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 46.64 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5077/0.6304, allocations: 212.8 MB / 0.5267 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3496/0.98, allocations: 13.18 MB / 0.5396 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.9814, allocations: 23.09 kB / 0.5396 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.9828, allocations: 463.9 kB / 0.5401 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.9941, allocations: 3.616 MB / 0.5436 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009082/1.003, allocations: 2.857 MB / 0.5464 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004117/1.007, allocations: 2.628 MB / 0.549 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/1.009, allocations: 0.7857 MB / 0.5497 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008853/1.018, allocations: 3.102 MB / 0.5528 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/1.02, allocations: 1.065 MB / 0.5538 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/1.021, allocations: 120.4 kB / 0.5539 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/1.036, allocations: 6.514 MB / 0.5603 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.037, allocations: 0.5319 MB / 0.5608 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/1.038, allocations: 0.6355 MB / 0.5614 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/1.054, allocations: 4.901 MB / 0.5662 GB, free: 16.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.054, allocations: 0 / 0.5662 GB, free: 16.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/1.054, allocations: 1.031 kB / 0.5662 GB, free: 16.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.798e-05/1.054, allocations: 0 / 0.5662 GB, free: 16.02 MB / 446.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.006467/1.06, allocations: 2.139 MB / 0.5683 GB, free: 14.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.06, allocations: 9.625 kB / 0.5683 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/1.061, allocations: 127.9 kB / 0.5684 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/1.062, allocations: 0.6813 MB / 0.5691 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.062, allocations: 133.2 kB / 0.5692 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/1.062, allocations: 91.11 kB / 0.5693 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/1.065, allocations: 1.468 MB / 0.5707 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/1.065, allocations: 2.719 kB / 0.5707 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.065, allocations: 39.2 kB / 0.5708 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/1.065, allocations: 72.83 kB / 0.5708 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.067, allocations: 1.478 MB / 0.5723 GB, free: 14.02 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.008776/1.076, allocations: 6.368 MB / 0.5785 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/1.078, allocations: 0.9705 MB / 0.5795 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/1.079, allocations: 0.5298 MB / 0.58 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/1.081, allocations: 2.06 MB / 0.582 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.081, allocations: 46.61 kB / 0.582 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005113/1.082, allocations: 100.2 kB / 0.5821 GB, free: 7.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/1.082, allocations: 0.7812 kB / 0.5821 GB, free: 7.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01633/1.098, allocations: 4.804 MB / 0.5868 GB, free: 5.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.098, allocations: 112.8 kB / 0.5869 GB, free: 4.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.099, allocations: 0.7829 MB / 0.5877 GB, free: 4.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/1.1, allocations: 41.89 kB / 0.5877 GB, free: 4.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/1.1, allocations: 452.6 kB / 0.5882 GB, free: 4.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/1.1, allocations: 338.1 kB / 0.5885 GB, free: 3.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004923/1.101, allocations: 258.5 kB / 0.5887 GB, free: 3.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002863/1.101, allocations: 405.5 kB / 0.5891 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/1.102, allocations: 0.6215 MB / 0.5897 GB, free: 2.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/1.104, allocations: 0.9575 MB / 0.5907 GB, free: 1.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/1.107, allocations: 1.661 MB / 0.5923 GB, free: 256 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.107, allocations: 4 kB / 0.5923 GB, free: 252 kB / 446.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003966/1.111, allocations: 1.937 MB / 0.5942 GB, free: 14.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/1.111, allocations: 64.09 kB / 0.5942 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.111, allocations: 12 kB / 0.5942 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/1.113, allocations: 317.4 kB / 0.5945 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.114, allocations: 275.4 kB / 0.5948 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/1.115, allocations: 0.9066 MB / 0.5957 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.116, allocations: 63.95 kB / 0.5958 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.117, allocations: 87.12 kB / 0.5958 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001605/1.118, allocations: 0.846 MB / 0.5967 GB, free: 11.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001454/1.12, allocations: 0.9452 MB / 0.5976 GB, free: 10.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0027/1.122, allocations: 1.636 MB / 0.5992 GB, free: 8.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.205e-06/1.122, allocations: 4 kB / 0.5992 GB, free: 8.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00389/1.126, allocations: 1.903 MB / 0.601 GB, free: 7.102 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/1.126, allocations: 78.52 kB / 0.6011 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.126, allocations: 11.84 kB / 0.6011 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/1.128, allocations: 308.6 kB / 0.6014 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.129, allocations: 274.7 kB / 0.6017 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.13, allocations: 0.9076 MB / 0.6026 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.131, allocations: 68.03 kB / 0.6026 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.132, allocations: 71.97 kB / 0.6027 GB, free: 5.391 MB / 462.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.0005653/1.132, allocations: 270.9 kB / 0.603 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/1.132, allocations: 94.88 kB / 0.6031 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.136, allocations: 1.925 MB / 0.6049 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/1.136, allocations: 19.98 kB / 0.605 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.136, allocations: 0 / 0.605 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.136, allocations: 3.984 kB / 0.605 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/1.142, allocations: 3.034 MB / 0.6079 GB, free: 8 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.142, allocations: 192 / 0.6079 GB, free: 8 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/1.143, allocations: 189.3 kB / 0.6081 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.144, allocations: 373.2 kB / 0.6085 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/1.144, allocations: 39.92 kB / 0.6085 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/1.146, allocations: 0.8808 MB / 0.6094 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.146, allocations: 4.031 kB / 0.6094 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/1.15, allocations: 2.42 MB / 0.6117 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/1.151, allocations: 323.8 kB / 0.612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.151, allocations: 27.91 kB / 0.6121 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/1.152, allocations: 59.94 kB / 0.6121 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.152, allocations: 76 kB / 0.6122 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.152, allocations: 63.95 kB / 0.6123 GB, free: 11.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007639/1.153, allocations: 0.5693 MB / 0.6128 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.153, allocations: 0 / 0.6128 GB, free: 10.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004114/1.157, allocations: 1.167 MB / 0.6139 GB, free: 9.781 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.002907/1.16, allocations: 1.146 MB / 0.6151 GB, free: 8.723 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00584/1.166, allocations: 2.955 MB / 0.618 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.166, allocations: 448 / 0.618 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.167, allocations: 0.7395 MB / 0.6187 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.17, allocations: 0.5538 MB / 0.6192 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.175, allocations: 2.53 MB / 0.6217 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/1.176, allocations: 1.123 MB / 0.6228 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002079/1.178, allocations: 0.6174 MB / 0.6234 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.179, allocations: 123.4 kB / 0.6235 GB, free: 88 kB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/1.179, allocations: 4 kB / 0.6235 GB, free: 84 kB / 478.1 MB Notification: Performance of Templates: time 0.06458/1.243, allocations: 41.67 MB / 0.6642 GB, free: 6.461 MB / 0.5137 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)