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.8824/0.8824, allocations: 110.8 MB / 118.3 MB, free: 14.51 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001732/0.001732, allocations: 151.4 kB / 144 MB, free: 4.832 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 0 / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05056/0.05059, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.741/2.792, allocations: 1.248 GB / 1.442 GB, free: 2.281 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/2.792, allocations: 67.97 kB / 1.442 GB, free: 2.215 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.938/4.73, allocations: 452.5 MB / 1.884 GB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/4.73, allocations: 0 / 1.884 GB, free: 16.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001841/4.731, allocations: 32.72 kB / 1.884 GB, free: 16.36 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.01361/4.744, allocations: 2.967 MB / 1.887 GB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/4.744, allocations: 12.25 kB / 1.887 GB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/4.746, allocations: 176.5 kB / 1.887 GB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/4.749, allocations: 0.9314 MB / 1.888 GB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/4.749, allocations: 159.1 kB / 1.888 GB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005858/4.75, allocations: 71.78 kB / 1.888 GB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0033/4.753, allocations: 1.561 MB / 1.89 GB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/4.757, allocations: 1.623 MB / 1.891 GB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/4.757, allocations: 0 / 1.891 GB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/4.757, allocations: 15.88 kB / 1.891 GB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.785e-05/4.757, allocations: 73.66 kB / 1.892 GB, free: 14.01 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.01197/4.769, allocations: 7.21 MB / 1.899 GB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/4.771, allocations: 0.9999 MB / 1.9 GB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/4.772, allocations: 0.5423 MB / 1.9 GB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/4.773, allocations: 1.725 MB / 1.902 GB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/4.773, allocations: 48.09 kB / 1.902 GB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007643/4.774, allocations: 94.09 kB / 1.902 GB, free: 8.281 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 5.36e-06/4.774, allocations: 0 / 1.902 GB, free: 8.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.01502/4.789, allocations: 4.43 MB / 1.906 GB, free: 7.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/4.789, allocations: 172.1 kB / 1.906 GB, free: 7.504 MB / 266.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.001773/4.791, allocations: 0.7469 MB / 1.907 GB, free: 7.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/4.791, allocations: 29.55 kB / 1.907 GB, free: 7.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/4.792, allocations: 0.6573 MB / 1.908 GB, free: 6.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/4.792, allocations: 377.5 kB / 1.908 GB, free: 6.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/4.792, allocations: 3.625 kB / 1.908 GB, free: 6.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/4.793, allocations: 363.9 kB / 1.908 GB, free: 6.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/4.794, allocations: 0.6064 MB / 1.909 GB, free: 6.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/4.795, allocations: 1.074 MB / 1.91 GB, free: 5.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/4.797, allocations: 0.9041 MB / 1.911 GB, free: 5.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/4.797, allocations: 7.828 kB / 1.911 GB, free: 5.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007533/4.805, allocations: 2.588 MB / 1.914 GB, free: 5.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/4.805, allocations: 66.03 kB / 1.914 GB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/4.805, allocations: 12.94 kB / 1.914 GB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/4.807, allocations: 444.5 kB / 1.914 GB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/4.808, allocations: 345.3 kB / 1.914 GB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/4.809, allocations: 1.468 MB / 1.916 GB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/4.811, allocations: 111.6 kB / 1.916 GB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/4.811, allocations: 97.98 kB / 1.916 GB, free: 4.141 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: 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.0004941/4.812, allocations: 152.5 kB / 1.916 GB, free: 4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/4.812, allocations: 121.2 kB / 1.916 GB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/4.816, allocations: 1.838 MB / 1.918 GB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/4.816, allocations: 10.28 kB / 1.918 GB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/4.816, allocations: 0 / 1.918 GB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/4.816, allocations: 6.188 kB / 1.918 GB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/4.822, allocations: 3.057 MB / 1.921 GB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/4.822, allocations: 0 / 1.921 GB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009508/4.823, allocations: 211.8 kB / 1.921 GB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/4.824, allocations: 308 kB / 1.922 GB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/4.824, allocations: 29.17 kB / 1.922 GB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006986/4.825, allocations: 0.8158 MB / 1.922 GB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/4.825, allocations: 3.375 kB / 1.922 GB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004235/4.829, allocations: 2.389 MB / 1.925 GB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/4.83, allocations: 364.1 kB / 1.925 GB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/4.831, allocations: 15.89 kB / 1.925 GB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/4.832, allocations: 81.08 kB / 1.925 GB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/4.832, allocations: 75.45 kB / 1.925 GB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/4.832, allocations: 58.36 kB / 1.925 GB, free: 14.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001101/4.834, allocations: 0.5814 MB / 1.926 GB, free: 14.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.8e-07/4.834, allocations: 3.938 kB / 1.926 GB, free: 14.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004462/4.838, allocations: 0.9779 MB / 1.927 GB, free: 13.27 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 (112): * Single equations (assignments): 110 * 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.00683/4.845, allocations: 2.12 MB / 1.929 GB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003798/4.849, allocations: 1.568 MB / 1.93 GB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/4.849, allocations: 0 / 1.93 GB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/4.85, allocations: 0.6546 MB / 1.931 GB, free: 9.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/4.853, allocations: 0.4891 MB / 1.932 GB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/4.859, allocations: 2.236 MB / 1.934 GB, free: 7.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/4.86, allocations: 1.297 MB / 1.935 GB, free: 6.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002081/4.862, allocations: 450.9 kB / 1.935 GB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/4.863, allocations: 133.8 kB / 1.936 GB, free: 5.672 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/4.863, allocations: 0 / 1.936 GB, free: 5.672 MB / 282.7 MB Notification: Performance of Templates: time 0.3171/5.18, allocations: 36.54 MB / 1.971 GB, free: 26.9 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)