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.7496/0.7496, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001644/0.001644, allocations: 147.4 kB / 149.1 MB, free: 1.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.389e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04529/0.04533, allocations: 25.17 MB / 205.4 MB, free: 8.453 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.113/3.158, allocations: 1.246 GB / 1.447 GB, free: 41.06 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/3.158, allocations: 70.28 kB / 1.447 GB, free: 41.03 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.662/4.82, allocations: 419.7 MB / 1.856 GB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/4.82, allocations: 3.719 kB / 1.856 GB, free: 16.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.261e-05/4.82, allocations: 26.78 kB / 1.856 GB, free: 16.44 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.009377/4.83, allocations: 2.505 MB / 1.859 GB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/4.83, allocations: 12.78 kB / 1.859 GB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/4.83, allocations: 107.9 kB / 1.859 GB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/4.831, allocations: 0.6882 MB / 1.86 GB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/4.832, allocations: 139.3 kB / 1.86 GB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/4.832, allocations: 87.36 kB / 1.86 GB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/4.834, allocations: 1.303 MB / 1.861 GB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/4.834, allocations: 0 / 1.861 GB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/4.834, allocations: 39.14 kB / 1.861 GB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/4.834, allocations: 61.17 kB / 1.861 GB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/4.836, allocations: 1.273 MB / 1.863 GB, free: 13.64 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.006987/4.843, allocations: 5.679 MB / 1.868 GB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/4.844, allocations: 0.7465 MB / 1.869 GB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/4.845, allocations: 397.8 kB / 1.869 GB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/4.846, allocations: 1.375 MB / 1.871 GB, free: 7.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/4.846, allocations: 43.12 kB / 1.871 GB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00054/4.846, allocations: 98.77 kB / 1.871 GB, free: 7.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 3.777e-06/4.846, allocations: 7.609 kB / 1.871 GB, free: 7.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.01405/4.86, allocations: 4.015 MB / 1.875 GB, free: 3.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/4.86, allocations: 111.6 kB / 1.875 GB, free: 3.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/4.861, allocations: 0.6512 MB / 1.875 GB, free: 3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.083e-05/4.861, allocations: 45.7 kB / 1.875 GB, free: 2.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/4.862, allocations: 461.9 kB / 1.876 GB, free: 2.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/4.862, allocations: 291.5 kB / 1.876 GB, free: 2.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/4.862, allocations: 24 kB / 1.876 GB, free: 2.242 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/4.862, allocations: 401.3 kB / 1.877 GB, free: 1.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/4.863, allocations: 495.9 kB / 1.877 GB, free: 1.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/4.864, allocations: 0.8481 MB / 1.878 GB, free: 492 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/4.865, allocations: 0.6667 MB / 1.878 GB, free: 15.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/4.865, allocations: 4 kB / 1.878 GB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006452/4.871, allocations: 2.204 MB / 1.881 GB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/4.871, allocations: 71.2 kB / 1.881 GB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/4.871, allocations: 12 kB / 1.881 GB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/4.873, allocations: 463.1 kB / 1.881 GB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/4.875, allocations: 254.2 kB / 1.881 GB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/4.876, allocations: 1.431 MB / 1.883 GB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/4.878, allocations: 115.6 kB / 1.883 GB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/4.878, allocations: 72.58 kB / 1.883 GB, free: 11.76 MB / 282.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.0004473/4.878, allocations: 187.8 kB / 1.883 GB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/4.879, allocations: 90.88 kB / 1.883 GB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/4.882, allocations: 1.405 MB / 1.885 GB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/4.882, allocations: 8 kB / 1.885 GB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/4.882, allocations: 0 / 1.885 GB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/4.882, allocations: 10.73 kB / 1.885 GB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/4.886, allocations: 2.443 MB / 1.887 GB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/4.886, allocations: 4 kB / 1.887 GB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/4.887, allocations: 159.8 kB / 1.887 GB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/4.888, allocations: 312.6 kB / 1.887 GB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/4.888, allocations: 39.97 kB / 1.888 GB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008721/4.889, allocations: 0.7787 MB / 1.888 GB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/4.889, allocations: 3.938 kB / 1.888 GB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/4.894, allocations: 2.217 MB / 1.89 GB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/4.895, allocations: 303.8 kB / 1.891 GB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/4.895, allocations: 20 kB / 1.891 GB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/4.896, allocations: 75.92 kB / 1.891 GB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/4.896, allocations: 68.59 kB / 1.891 GB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/4.897, allocations: 47.97 kB / 1.891 GB, free: 4.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000849/4.897, allocations: 0.4952 MB / 1.891 GB, free: 3.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/4.897, allocations: 0 / 1.891 GB, free: 3.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004115/4.902, allocations: 0.9092 MB / 1.892 GB, free: 2.633 MB / 282.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 (83): * Single equations (assignments): 82 * 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.004635/4.906, allocations: 1.78 MB / 1.894 GB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.2295/5.136, allocations: 1.314 MB / 1.895 GB, free: 29.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/5.136, allocations: 2.062 kB / 1.895 GB, free: 29.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/5.137, allocations: 0.5525 MB / 1.896 GB, free: 29.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/5.14, allocations: 456.9 kB / 1.896 GB, free: 29.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/5.144, allocations: 1.829 MB / 1.898 GB, free: 29.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/5.145, allocations: 1.101 MB / 1.899 GB, free: 28.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001591/5.146, allocations: 385.7 kB / 1.9 GB, free: 28.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/5.147, allocations: 112.2 kB / 1.9 GB, free: 28.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/5.147, allocations: 0 / 1.9 GB, free: 28.82 MB / 282.7 MB Notification: Performance of Templates: time 0.06522/5.212, allocations: 43.94 MB / 1.943 GB, free: 26.35 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)