Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.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.RoomCO2WithControls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7013/0.7013, 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.00181/0.00181, allocations: 142.5 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.904/3.066, allocations: 1.248 GB / 1.454 GB, free: 54.27 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/3.066, allocations: 80.31 kB / 1.454 GB, free: 54.27 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 freshAir.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 peopleSource.medium.preferredMediumStates then StateSelect.prefer else StateSelect.default' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 1.628/4.694, allocations: 459.1 MB / 1.902 GB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.935e-06/4.694, allocations: 0 / 1.902 GB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.323e-05/4.694, allocations: 38.83 kB / 1.902 GB, free: 11.17 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: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.01034/4.705, allocations: 3.11 MB / 1.905 GB, free: 8.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/4.705, allocations: 11.17 kB / 1.905 GB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/4.705, allocations: 170.1 kB / 1.905 GB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/4.707, allocations: 0.9381 MB / 1.906 GB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/4.707, allocations: 203.2 kB / 1.906 GB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/4.708, allocations: 119.9 kB / 1.906 GB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/4.711, allocations: 1.88 MB / 1.908 GB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/4.711, allocations: 0 / 1.908 GB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/4.711, allocations: 52 kB / 1.908 GB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/4.711, allocations: 74.16 kB / 1.908 GB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/4.713, allocations: 1.82 MB / 1.91 GB, free: 3.195 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.0105/4.724, allocations: 7.437 MB / 1.917 GB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/4.726, allocations: 1.145 MB / 1.919 GB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/4.728, allocations: 1.726 MB / 1.92 GB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/4.728, allocations: 43.56 kB / 1.92 GB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006999/4.729, allocations: 134.6 kB / 1.92 GB, free: 7.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 4.038e-06/4.729, allocations: 0 / 1.92 GB, free: 7.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.01811/4.747, allocations: 5.721 MB / 1.926 GB, free: 2.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/4.747, allocations: 167.2 kB / 1.926 GB, free: 1.883 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Blocks/Continuous.mo:858:5-861:73:writable] Warning: Parameter PID.Td has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/4.748, allocations: 0.9089 MB / 1.927 GB, free: 0.9609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/4.749, allocations: 57.69 kB / 1.927 GB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/4.749, allocations: 0.6505 MB / 1.928 GB, free: 244 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2123/4.961, allocations: 395 kB / 1.928 GB, free: 25.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/4.962, allocations: 31.22 kB / 1.928 GB, free: 25.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/4.962, allocations: 365.9 kB / 1.928 GB, free: 25.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/4.963, allocations: 0.7085 MB / 1.929 GB, free: 25.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/4.965, allocations: 1.167 MB / 1.93 GB, free: 25.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/4.966, allocations: 0.9146 MB / 1.931 GB, free: 24.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/4.966, allocations: 6.688 kB / 1.931 GB, free: 24.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005342/4.972, allocations: 2.456 MB / 1.934 GB, free: 24.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/4.972, allocations: 63.92 kB / 1.934 GB, free: 24.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/4.972, allocations: 13.53 kB / 1.934 GB, free: 24.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/4.974, allocations: 0.5444 MB / 1.934 GB, free: 24.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/4.976, allocations: 344.9 kB / 1.935 GB, free: 24.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/4.977, allocations: 1.552 MB / 1.936 GB, free: 23.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/4.979, allocations: 144.5 kB / 1.936 GB, free: 23.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/4.979, allocations: 95.91 kB / 1.936 GB, free: 23.73 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: 63 * Number of states: 0 () * Number of discrete variables: 3 (traceVolume.ind,traceSource.ind,NumberOfPeople.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * 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.0009217/4.98, allocations: 428 kB / 1.937 GB, free: 23.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/4.981, allocations: 135.1 kB / 1.937 GB, free: 23.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/4.984, allocations: 2.04 MB / 1.939 GB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/4.984, allocations: 12.81 kB / 1.939 GB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/4.984, allocations: 2.875 kB / 1.939 GB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/4.985, allocations: 9.766 kB / 1.939 GB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008265/4.993, allocations: 3.78 MB / 1.943 GB, free: 23.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/4.993, allocations: 2.062 kB / 1.943 GB, free: 23.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/4.994, allocations: 220 kB / 1.943 GB, free: 23.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/4.996, allocations: 409.2 kB / 1.943 GB, free: 23.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/4.996, allocations: 41.56 kB / 1.943 GB, free: 23.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/4.997, allocations: 0.8972 MB / 1.944 GB, free: 22.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/4.997, allocations: 0 / 1.944 GB, free: 22.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/5.001, allocations: 2.724 MB / 1.947 GB, free: 22.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/5.002, allocations: 378 kB / 1.947 GB, free: 22.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/5.003, allocations: 34.55 kB / 1.947 GB, free: 22.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/5.004, allocations: 102.7 kB / 1.947 GB, free: 22.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/5.004, allocations: 80.94 kB / 1.947 GB, free: 22.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/5.004, allocations: 62.86 kB / 1.947 GB, free: 22.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001115/5.005, allocations: 0.6981 MB / 1.948 GB, free: 21.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.01e-07/5.005, allocations: 1.188 kB / 1.948 GB, free: 21.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004434/5.01, allocations: 1.056 MB / 1.949 GB, free: 21.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC[1],PID.I.y) * Number of discrete variables: 1 (NumberOfPeople.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004478/5.014, allocations: 1.952 MB / 1.951 GB, free: 21.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003498/5.018, allocations: 1.802 MB / 1.953 GB, free: 21.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/5.018, allocations: 1.156 kB / 1.953 GB, free: 21.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/5.019, allocations: 0.7848 MB / 1.953 GB, free: 21.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/5.022, allocations: 0.5678 MB / 1.954 GB, free: 21.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/5.027, allocations: 3.553 MB / 1.958 GB, free: 20.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/5.028, allocations: 1.297 MB / 1.959 GB, free: 19.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001997/5.03, allocations: 487.3 kB / 1.959 GB, free: 19.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/5.03, allocations: 138.1 kB / 1.959 GB, free: 19.47 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/5.03, allocations: 0 / 1.959 GB, free: 19.47 MB / 282.7 MB Notification: Performance of Templates: time 0.06808/5.098, allocations: 46.9 MB / 2.005 GB, free: 14.91 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.sim & ./Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe 2>&1)