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.758/0.758, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001545/0.001545, allocations: 155.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.567e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05039/0.05042, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.113/3.163, allocations: 1.248 GB / 1.449 GB, free: 38.53 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/3.164, allocations: 65.53 kB / 1.449 GB, free: 38.5 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.986/5.15, allocations: 457.6 MB / 1.896 GB, free: 24.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/5.15, allocations: 0 / 1.896 GB, free: 24.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001094/5.15, allocations: 36.55 kB / 1.896 GB, free: 24.4 MB / 282.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.01309/5.163, allocations: 2.969 MB / 1.899 GB, free: 23.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/5.163, allocations: 9.156 kB / 1.899 GB, free: 23.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/5.164, allocations: 175.5 kB / 1.899 GB, free: 22.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/5.166, allocations: 0.9434 MB / 1.9 GB, free: 22.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/5.166, allocations: 197.9 kB / 1.9 GB, free: 22.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/5.167, allocations: 122.3 kB / 1.9 GB, free: 22.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/5.17, allocations: 1.795 MB / 1.902 GB, free: 22.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/5.17, allocations: 5.5 kB / 1.902 GB, free: 22.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/5.17, allocations: 50.53 kB / 1.902 GB, free: 22.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/5.17, allocations: 76.67 kB / 1.902 GB, free: 22.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/5.173, allocations: 1.718 MB / 1.904 GB, free: 22.25 MB / 282.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.01014/5.183, allocations: 7.422 MB / 1.911 GB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/5.185, allocations: 1.083 MB / 1.912 GB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/5.185, allocations: 0.5702 MB / 1.913 GB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/5.187, allocations: 1.727 MB / 1.914 GB, free: 16.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/5.187, allocations: 52.72 kB / 1.914 GB, free: 16.57 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009284/5.188, allocations: 129.7 kB / 1.915 GB, free: 16.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 4.469e-06/5.188, allocations: 0 / 1.915 GB, free: 16.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.01572/5.204, allocations: 4.864 MB / 1.919 GB, free: 15.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/5.204, allocations: 166.3 kB / 1.919 GB, free: 15.76 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.001433/5.206, allocations: 0.8985 MB / 1.92 GB, free: 15.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/5.206, allocations: 51.05 kB / 1.92 GB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/5.206, allocations: 0.6467 MB / 1.921 GB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/5.207, allocations: 397.3 kB / 1.921 GB, free: 15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/5.207, allocations: 35.28 kB / 1.921 GB, free: 15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/5.207, allocations: 363 kB / 1.922 GB, free: 14.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009581/5.208, allocations: 0.6396 MB / 1.922 GB, free: 14.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/5.209, allocations: 1.114 MB / 1.923 GB, free: 14.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/5.21, allocations: 0.8519 MB / 1.924 GB, free: 14.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/5.21, allocations: 6.75 kB / 1.924 GB, free: 14.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004486/5.215, allocations: 2.291 MB / 1.927 GB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/5.215, allocations: 66.69 kB / 1.927 GB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/5.215, allocations: 15.78 kB / 1.927 GB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/5.217, allocations: 474.9 kB / 1.927 GB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/5.218, allocations: 347.6 kB / 1.927 GB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/5.22, allocations: 1.443 MB / 1.929 GB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/5.221, allocations: 143.2 kB / 1.929 GB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/5.222, allocations: 96.84 kB / 1.929 GB, free: 12.73 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: 63 * Number of states: 0 () * Number of discrete variables: 3 (traceVolume.ind,traceSource.ind,NumberOfPeople.tableID) * Number of discrete 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.0004097/5.222, allocations: 206.7 kB / 1.929 GB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/5.222, allocations: 126.6 kB / 1.929 GB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/5.226, allocations: 1.883 MB / 1.931 GB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/5.226, allocations: 12.59 kB / 1.931 GB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/5.226, allocations: 0 / 1.931 GB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/5.226, allocations: 3.047 kB / 1.931 GB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/5.231, allocations: 3.314 MB / 1.934 GB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/5.231, allocations: 0 / 1.934 GB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/5.232, allocations: 223.4 kB / 1.935 GB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/5.233, allocations: 315.4 kB / 1.935 GB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/5.233, allocations: 40.42 kB / 1.935 GB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008172/5.234, allocations: 0.786 MB / 1.936 GB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/5.234, allocations: 2.531 kB / 1.936 GB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/5.238, allocations: 2.525 MB / 1.938 GB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/5.239, allocations: 376.2 kB / 1.939 GB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/5.239, allocations: 27.75 kB / 1.939 GB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/5.24, allocations: 109.2 kB / 1.939 GB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/5.24, allocations: 83.95 kB / 1.939 GB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/5.241, allocations: 64.64 kB / 1.939 GB, free: 10.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001129/5.242, allocations: 0.6856 MB / 1.94 GB, free: 10.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.51e-07/5.242, allocations: 1.156 kB / 1.94 GB, free: 10.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004529/5.246, allocations: 1.059 MB / 1.941 GB, free: 10.63 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 () * 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.005825/5.252, allocations: 1.949 MB / 1.942 GB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003559/5.256, allocations: 1.671 MB / 1.944 GB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/5.256, allocations: 3.625 kB / 1.944 GB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/5.257, allocations: 0.714 MB / 1.945 GB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/5.26, allocations: 0.5727 MB / 1.945 GB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/5.265, allocations: 2.349 MB / 1.948 GB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/5.266, allocations: 1.299 MB / 1.949 GB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002125/5.269, allocations: 481.2 kB / 1.949 GB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/5.269, allocations: 141.6 kB / 1.95 GB, free: 8.781 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/5.269, allocations: 0 / 1.95 GB, free: 8.781 MB / 282.7 MB Notification: Performance of Templates: time 0.336/5.605, allocations: 50.17 MB / 1.999 GB, free: 38.02 MB / 298.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)