Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8017/0.8017, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 168.2 kB / 182.2 MB, free: 9.484 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009947, allocations: 84.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 277.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.318e-05/1.331e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3865, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.093/4.48, allocations: 1.941 GB / 2.699 GB, free: 78.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/4.48, allocations: 95.56 kB / 2.699 GB, free: 78.73 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 7.615/12.1, allocations: 2.102 GB / 4.801 GB, free: 66.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.744e-06/12.1, allocations: 0 / 4.801 GB, free: 66.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003139/12.1, allocations: 71.72 kB / 4.801 GB, free: 66.51 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01471/12.11, allocations: 3.593 MB / 4.805 GB, free: 65.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/12.11, allocations: 11.19 kB / 4.805 GB, free: 65.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007055/12.12, allocations: 0.8308 MB / 4.806 GB, free: 65.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/12.12, allocations: 2.156 MB / 4.808 GB, free: 64.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/12.12, allocations: 89.36 kB / 4.808 GB, free: 64.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/12.13, allocations: 167.2 kB / 4.808 GB, free: 64.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00653/12.13, allocations: 2.693 MB / 4.811 GB, free: 64.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007153/12.14, allocations: 3.03 MB / 4.814 GB, free: 64.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-05/12.14, allocations: 10.03 kB / 4.814 GB, free: 64.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/12.14, allocations: 5.906 kB / 4.814 GB, free: 64.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/12.14, allocations: 128.9 kB / 4.814 GB, free: 64.48 MB / 0.7761 GB 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.01718/12.16, allocations: 14.15 MB / 4.828 GB, free: 56.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/12.16, allocations: 2.772 MB / 4.83 GB, free: 55.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/12.16, allocations: 1.252 MB / 4.832 GB, free: 55.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/12.16, allocations: 1.386 MB / 4.833 GB, free: 53.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/12.16, allocations: 1.162 MB / 4.834 GB, free: 53.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=213): time 5.01e-06/12.17, allocations: 1.75 kB / 4.834 GB, free: 53.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=213): time 0.004191/12.17, allocations: 2.198 MB / 4.836 GB, free: 53.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/12.17, allocations: 74.34 kB / 4.836 GB, free: 53.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/12.17, allocations: 0.9683 MB / 4.837 GB, free: 53.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/12.17, allocations: 29.58 kB / 4.837 GB, free: 53.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/12.17, allocations: 1.112 MB / 4.838 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009688/12.17, allocations: 0.7063 MB / 4.839 GB, free: 52.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/12.17, allocations: 0 / 4.839 GB, free: 52.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002351/12.17, allocations: 383.7 kB / 4.839 GB, free: 51.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/12.18, allocations: 0.8658 MB / 4.84 GB, free: 51.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/12.18, allocations: 1.284 MB / 4.841 GB, free: 51.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/12.18, allocations: 1.097 MB / 4.843 GB, free: 51.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/12.18, allocations: 6.094 kB / 4.843 GB, free: 51.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004351/12.18, allocations: 2.437 MB / 4.845 GB, free: 51.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/12.18, allocations: 38.61 kB / 4.845 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/12.18, allocations: 9.562 kB / 4.845 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.52e-05/12.18, allocations: 17.72 kB / 4.845 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/12.19, allocations: 466.4 kB / 4.845 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.351e-05/12.19, allocations: 22.78 kB / 4.845 GB, free: 51.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/12.19, allocations: 301.8 kB / 4.846 GB, free: 51.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/12.19, allocations: 87.44 kB / 4.846 GB, free: 51.05 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003702/12.19, allocations: 144.8 kB / 4.846 GB, free: 50.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/12.19, allocations: 197.3 kB / 4.846 GB, free: 50.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/12.19, allocations: 2.388 MB / 4.848 GB, free: 50.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/12.19, allocations: 19.12 kB / 4.848 GB, free: 50.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/12.19, allocations: 3.625 kB / 4.848 GB, free: 50.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003099/12.2, allocations: 2.248 MB / 4.851 GB, free: 50.32 MB / 0.7761 GB 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 postOpt removeSimpleEquations (simulation): time 0.009959/12.21, allocations: 5.509 MB / 4.856 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/12.21, allocations: 2.438 kB / 4.856 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/12.21, allocations: 488.3 kB / 4.857 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.472e-05/12.21, allocations: 10.44 kB / 4.857 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/12.21, allocations: 39.78 kB / 4.857 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/12.21, allocations: 10.41 kB / 4.857 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/12.21, allocations: 3.312 kB / 4.857 GB, free: 49.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/12.22, allocations: 4.016 MB / 4.861 GB, free: 48.85 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/12.22, allocations: 0.5392 MB / 4.861 GB, free: 48.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/12.22, allocations: 12.91 kB / 4.861 GB, free: 48.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/12.22, allocations: 214.6 kB / 4.861 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/12.22, allocations: 137.2 kB / 4.861 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/12.22, allocations: 76.5 kB / 4.861 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001159/12.22, allocations: 0.7327 MB / 4.862 GB, free: 48.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/12.22, allocations: 0 / 4.862 GB, free: 48.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00349/12.22, allocations: 1.201 MB / 4.863 GB, free: 48.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007094/12.23, allocations: 5.293 MB / 4.869 GB, free: 46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004285/12.24, allocations: 2.241 MB / 4.871 GB, free: 45.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/12.24, allocations: 3.938 kB / 4.871 GB, free: 45.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/12.24, allocations: 1.169 MB / 4.872 GB, free: 45.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/12.24, allocations: 1.02 MB / 4.873 GB, free: 45.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/12.25, allocations: 4.815 MB / 4.878 GB, free: 44.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/12.25, allocations: 2.019 MB / 4.88 GB, free: 44.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003139/12.26, allocations: 0.7103 MB / 4.88 GB, free: 44.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008605/12.26, allocations: 206.6 kB / 4.88 GB, free: 44 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/12.26, allocations: 0 / 4.88 GB, free: 44 MB / 0.7761 GB Notification: Performance of Templates: time 0.08751/12.35, allocations: 61.98 MB / 4.941 GB, free: 39.38 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)