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.7494/0.7494, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001816/0.001816, allocations: 150.2 kB / 151.9 MB, free: 4.988 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 15.98 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.6/2.744, allocations: 1.246 GB / 1.451 GB, free: 4.602 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/2.744, allocations: 71.97 kB / 1.451 GB, free: 4.531 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.77/4.514, allocations: 421 MB / 1.862 GB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/4.514, allocations: 0 / 1.862 GB, free: 13.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.829e-05/4.514, allocations: 26.23 kB / 1.862 GB, free: 13.56 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.00962/4.524, allocations: 2.609 MB / 1.865 GB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/4.524, allocations: 12.8 kB / 1.865 GB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/4.524, allocations: 115.8 kB / 1.865 GB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/4.526, allocations: 0.6741 MB / 1.866 GB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/4.526, allocations: 140.3 kB / 1.866 GB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/4.526, allocations: 90.09 kB / 1.866 GB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/4.529, allocations: 1.345 MB / 1.867 GB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/4.529, allocations: 1.375 kB / 1.867 GB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/4.529, allocations: 45.47 kB / 1.867 GB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/4.53, allocations: 61.94 kB / 1.867 GB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/4.532, allocations: 1.321 MB / 1.869 GB, free: 11.76 MB / 266.7 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.007325/4.539, allocations: 5.685 MB / 1.874 GB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/4.541, allocations: 0.7554 MB / 1.875 GB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008353/4.542, allocations: 1.373 MB / 1.876 GB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/4.542, allocations: 43.94 kB / 1.876 GB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00055/4.542, allocations: 93.78 kB / 1.876 GB, free: 7.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.514e-06/4.542, allocations: 0 / 1.876 GB, free: 7.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.01553/4.558, allocations: 4.648 MB / 1.881 GB, free: 6.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/4.558, allocations: 117.3 kB / 1.881 GB, free: 6.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009212/4.559, allocations: 0.6576 MB / 1.882 GB, free: 6.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/4.559, allocations: 44.86 kB / 1.882 GB, free: 6.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/4.559, allocations: 462.6 kB / 1.882 GB, free: 6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/4.559, allocations: 294.9 kB / 1.882 GB, free: 5.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.636e-05/4.559, allocations: 19.31 kB / 1.883 GB, free: 5.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/4.56, allocations: 399.1 kB / 1.883 GB, free: 5.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/4.561, allocations: 0.5312 MB / 1.883 GB, free: 5.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/4.562, allocations: 0.8982 MB / 1.884 GB, free: 5.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/4.563, allocations: 0.7134 MB / 1.885 GB, free: 5.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/4.563, allocations: 7.844 kB / 1.885 GB, free: 5.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006937/4.57, allocations: 2.349 MB / 1.887 GB, free: 4.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/4.57, allocations: 64 kB / 1.887 GB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/4.57, allocations: 13.78 kB / 1.887 GB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/4.573, allocations: 0.5446 MB / 1.888 GB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/4.574, allocations: 254.9 kB / 1.888 GB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/4.576, allocations: 1.54 MB / 1.89 GB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/4.577, allocations: 113.2 kB / 1.89 GB, free: 19.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/4.578, allocations: 78.78 kB / 1.89 GB, free: 19.7 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: volume.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true ) "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 () * Number of clocked 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.0007455/4.578, allocations: 331 kB / 1.89 GB, free: 19.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/4.579, allocations: 88.75 kB / 1.89 GB, free: 19.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/4.582, allocations: 1.534 MB / 1.892 GB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/4.582, allocations: 8.781 kB / 1.892 GB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/4.582, allocations: 6.312 kB / 1.892 GB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/4.582, allocations: 6.422 kB / 1.892 GB, free: 19.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/4.586, allocations: 2.571 MB / 1.894 GB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/4.586, allocations: 8.281 kB / 1.894 GB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/4.587, allocations: 156.9 kB / 1.894 GB, free: 19.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/4.589, allocations: 397 kB / 1.895 GB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/4.589, allocations: 30 kB / 1.895 GB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/4.59, allocations: 0.9012 MB / 1.896 GB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/4.59, allocations: 1.5 kB / 1.896 GB, free: 18.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/4.596, allocations: 2.398 MB / 1.898 GB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008456/4.597, allocations: 309.9 kB / 1.898 GB, free: 18.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/4.597, allocations: 20.81 kB / 1.898 GB, free: 18.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/4.598, allocations: 72.95 kB / 1.898 GB, free: 18.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/4.598, allocations: 68.47 kB / 1.898 GB, free: 18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/4.598, allocations: 51.06 kB / 1.899 GB, free: 18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007061/4.599, allocations: 0.5049 MB / 1.899 GB, free: 17.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.62e-07/4.599, allocations: 0 / 1.899 GB, free: 17.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003578/4.603, allocations: 0.8999 MB / 1.9 GB, free: 17.76 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 () * Number of clocked 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.003553/4.606, allocations: 1.777 MB / 1.902 GB, free: 17.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/4.609, allocations: 1.422 MB / 1.903 GB, free: 17.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/4.609, allocations: 0 / 1.903 GB, free: 17.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/4.61, allocations: 0.6016 MB / 1.904 GB, free: 17.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/4.612, allocations: 461.3 kB / 1.904 GB, free: 17.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/4.618, allocations: 2.719 MB / 1.907 GB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/4.619, allocations: 1.099 MB / 1.908 GB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001717/4.62, allocations: 383 kB / 1.908 GB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/4.621, allocations: 109.5 kB / 1.908 GB, free: 15.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.984e-06/4.621, allocations: 4 kB / 1.908 GB, free: 15.34 MB / 282.7 MB Notification: Performance of Templates: time 0.2587/4.88, allocations: 40.75 MB / 1.948 GB, free: 27.48 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)