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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7434/0.7434, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001741/0.001741, allocations: 171.3 kB / 144 MB, free: 4.785 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.908e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04814/0.04818, allocations: 25.19 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.783/2.831, allocations: 1.245 GB / 1.44 GB, free: 5.086 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/2.831, allocations: 71.08 kB / 1.44 GB, free: 5.051 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary4.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if volume.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Media/Air.mo:113:10-113:95:writable] Warning: Non-array modification 'if boundary1.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 1.849/4.68, allocations: 415.2 MB / 1.845 GB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/4.681, allocations: 0 / 1.845 GB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001088/4.681, allocations: 21.03 kB / 1.845 GB, free: 15.97 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.01063/4.691, allocations: 2.513 MB / 1.848 GB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/4.691, allocations: 12.81 kB / 1.848 GB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/4.692, allocations: 112.1 kB / 1.848 GB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/4.694, allocations: 0.6791 MB / 1.848 GB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/4.695, allocations: 111.3 kB / 1.849 GB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/4.695, allocations: 53.53 kB / 1.849 GB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/4.698, allocations: 1.135 MB / 1.85 GB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/4.7, allocations: 1.177 MB / 1.851 GB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/4.7, allocations: 10.38 kB / 1.851 GB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/4.7, allocations: 6.375 kB / 1.851 GB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/4.701, allocations: 57.03 kB / 1.851 GB, free: 14.38 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or 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.009651/4.71, allocations: 5.539 MB / 1.856 GB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/4.712, allocations: 0.681 MB / 1.857 GB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/4.712, allocations: 373.4 kB / 1.857 GB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/4.714, allocations: 1.373 MB / 1.859 GB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/4.714, allocations: 48.72 kB / 1.859 GB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006497/4.714, allocations: 74.88 kB / 1.859 GB, free: 9.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=68): time 4.429e-06/4.714, allocations: 0 / 1.859 GB, free: 9.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=80): time 0.01379/4.728, allocations: 3.552 MB / 1.862 GB, free: 9.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/4.728, allocations: 111 kB / 1.862 GB, free: 9.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/4.729, allocations: 0.5284 MB / 1.863 GB, free: 9.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/4.729, allocations: 30.81 kB / 1.863 GB, free: 9.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000382/4.73, allocations: 480.3 kB / 1.863 GB, free: 8.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/4.73, allocations: 278.3 kB / 1.864 GB, free: 8.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/4.73, allocations: 0 / 1.864 GB, free: 8.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/4.73, allocations: 389 kB / 1.864 GB, free: 8.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/4.731, allocations: 466.6 kB / 1.864 GB, free: 8.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/4.732, allocations: 0.8172 MB / 1.865 GB, free: 7.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/4.734, allocations: 0.7107 MB / 1.866 GB, free: 7.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/4.734, allocations: 6.344 kB / 1.866 GB, free: 7.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004729/4.739, allocations: 1.784 MB / 1.868 GB, free: 7.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/4.739, allocations: 67.41 kB / 1.868 GB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/4.739, allocations: 12.25 kB / 1.868 GB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/4.741, allocations: 432.2 kB / 1.868 GB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/4.742, allocations: 257.8 kB / 1.868 GB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/4.743, allocations: 1.46 MB / 1.87 GB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/4.745, allocations: 91.16 kB / 1.87 GB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/4.745, allocations: 73.02 kB / 1.87 GB, free: 6.578 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: volume.mC[1]:VARIABLE(min = 0.0 unit = "kg" ) "Masses of trace substances in the fluid" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 2 (traceVolume.ind,traceSource.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004122/4.745, allocations: 144 kB / 1.87 GB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/4.746, allocations: 82.5 kB / 1.87 GB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/4.749, allocations: 1.327 MB / 1.872 GB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/4.749, allocations: 8.812 kB / 1.872 GB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/4.749, allocations: 0 / 1.872 GB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/4.749, allocations: 10.75 kB / 1.872 GB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/4.754, allocations: 2.26 MB / 1.874 GB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/4.754, allocations: 0 / 1.874 GB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/4.754, allocations: 149 kB / 1.874 GB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/4.756, allocations: 307.9 kB / 1.874 GB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/4.756, allocations: 23.11 kB / 1.874 GB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/4.757, allocations: 0.81 MB / 1.875 GB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/4.757, allocations: 7.703 kB / 1.875 GB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/4.76, allocations: 1.725 MB / 1.877 GB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/4.761, allocations: 286.2 kB / 1.877 GB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/4.761, allocations: 9.516 kB / 1.877 GB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/4.762, allocations: 62 kB / 1.877 GB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/4.763, allocations: 61.41 kB / 1.877 GB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/4.763, allocations: 45.34 kB / 1.877 GB, free: 4.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007486/4.764, allocations: 433.2 kB / 1.878 GB, free: 4.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/4.764, allocations: 2.844 kB / 1.878 GB, free: 4.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.004198/4.768, allocations: 0.8335 MB / 1.878 GB, free: 4.703 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.006318/4.774, allocations: 1.945 MB / 1.88 GB, free: 20.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/4.777, allocations: 1.231 MB / 1.881 GB, free: 20.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/4.777, allocations: 3.938 kB / 1.881 GB, free: 20.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/4.778, allocations: 0.4889 MB / 1.882 GB, free: 20.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/4.78, allocations: 367.4 kB / 1.882 GB, free: 20.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/4.785, allocations: 1.731 MB / 1.884 GB, free: 19.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/4.786, allocations: 1.106 MB / 1.885 GB, free: 19.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001619/4.788, allocations: 366.8 kB / 1.885 GB, free: 19.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/4.788, allocations: 103.5 kB / 1.885 GB, free: 19.11 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/4.788, allocations: 0 / 1.885 GB, free: 19.11 MB / 282.7 MB Notification: Performance of Templates: time 0.0519/4.84, allocations: 30.88 MB / 1.916 GB, free: 16.46 MB / 282.7 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)