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.7431/0.7431, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 188.9 kB / 187.3 MB, free: 11.88 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.404/1.404, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009177/0.0009179, allocations: 93.42 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 274.7 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.853e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.066/4.467, allocations: 1.942 GB / 2.706 GB, free: 103.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/4.467, allocations: 91.89 kB / 2.706 GB, free: 103.8 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.557/12.02, allocations: 2.124 GB / 4.831 GB, free: 61.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.262e-06/12.02, allocations: 0 / 4.831 GB, free: 61.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001705/12.02, allocations: 76.38 kB / 4.831 GB, free: 61.28 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.01106/12.04, allocations: 3.592 MB / 4.834 GB, free: 60.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/12.04, allocations: 11.28 kB / 4.834 GB, free: 60.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007321/12.04, allocations: 0.8365 MB / 4.835 GB, free: 59.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/12.05, allocations: 2.15 MB / 4.837 GB, free: 59.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/12.05, allocations: 219.9 kB / 4.838 GB, free: 59.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/12.05, allocations: 281.8 kB / 4.838 GB, free: 59.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0052/12.05, allocations: 3.416 MB / 4.841 GB, free: 59.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-05/12.05, allocations: 11.12 kB / 4.841 GB, free: 59.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/12.05, allocations: 114.5 kB / 4.841 GB, free: 59.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/12.05, allocations: 136.2 kB / 4.841 GB, free: 59.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004536/12.06, allocations: 3.019 MB / 4.844 GB, free: 59.04 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.01381/12.07, allocations: 14.45 MB / 4.858 GB, free: 50.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/12.08, allocations: 2.222 MB / 4.861 GB, free: 50.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/12.08, allocations: 1.293 MB / 4.862 GB, free: 50.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009272/12.08, allocations: 1.385 MB / 4.863 GB, free: 48.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001629/12.08, allocations: 1.167 MB / 4.864 GB, free: 48.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=213): time 4.318e-06/12.08, allocations: 0 / 4.864 GB, free: 48.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=213): time 0.003702/12.08, allocations: 2.184 MB / 4.867 GB, free: 48.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/12.08, allocations: 78.55 kB / 4.867 GB, free: 48.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/12.09, allocations: 1.229 MB / 4.868 GB, free: 48.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/12.09, allocations: 71.8 kB / 4.868 GB, free: 48.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000771/12.09, allocations: 1.109 MB / 4.869 GB, free: 47.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/12.09, allocations: 0.7349 MB / 4.87 GB, free: 47.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/12.09, allocations: 43.66 kB / 4.87 GB, free: 47.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/12.09, allocations: 382.1 kB / 4.87 GB, free: 46.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/12.09, allocations: 0.8595 MB / 4.871 GB, free: 46.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/12.09, allocations: 1.279 MB / 4.872 GB, free: 46.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/12.09, allocations: 1.096 MB / 4.873 GB, free: 46.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/12.09, allocations: 0 / 4.873 GB, free: 46.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00369/12.09, allocations: 2.498 MB / 4.876 GB, free: 46.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/12.09, allocations: 39.48 kB / 4.876 GB, free: 46.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/12.09, allocations: 7.094 kB / 4.876 GB, free: 46.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/12.1, allocations: 20.73 kB / 4.876 GB, free: 46.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/12.1, allocations: 452.1 kB / 4.876 GB, free: 46.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/12.1, allocations: 29.39 kB / 4.876 GB, free: 46.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/12.1, allocations: 359.8 kB / 4.877 GB, free: 45.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/12.1, allocations: 83.06 kB / 4.877 GB, free: 45.92 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.0003626/12.1, allocations: 222.1 kB / 4.877 GB, free: 45.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/12.1, allocations: 212.4 kB / 4.877 GB, free: 45.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/12.1, allocations: 2.43 MB / 4.879 GB, free: 45.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/12.1, allocations: 26.16 kB / 4.879 GB, free: 45.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/12.1, allocations: 3.953 kB / 4.879 GB, free: 45.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00279/12.11, allocations: 2.226 MB / 4.882 GB, free: 45.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/12.12, allocations: 5.486 MB / 4.887 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/12.12, allocations: 3.938 kB / 4.887 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/12.12, allocations: 474.4 kB / 4.887 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.728e-05/12.12, allocations: 12.47 kB / 4.887 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/12.12, allocations: 56.45 kB / 4.888 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/12.12, allocations: 10.47 kB / 4.888 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/12.12, allocations: 5.531 kB / 4.888 GB, free: 44.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/12.13, allocations: 3.993 MB / 4.891 GB, free: 43.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/12.13, allocations: 0.5392 MB / 4.892 GB, free: 43.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/12.13, allocations: 45.34 kB / 4.892 GB, free: 43.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/12.13, allocations: 242.1 kB / 4.892 GB, free: 43.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/12.13, allocations: 139.3 kB / 4.892 GB, free: 43.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/12.13, allocations: 72.33 kB / 4.892 GB, free: 43.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001621/12.13, allocations: 0.9554 MB / 4.893 GB, free: 43.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.5e-07/12.13, allocations: 0 / 4.893 GB, free: 43.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004453/12.14, allocations: 1.377 MB / 4.895 GB, free: 43.44 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.006979/12.14, allocations: 4.872 MB / 4.899 GB, free: 41.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00371/12.15, allocations: 2.237 MB / 4.902 GB, free: 40.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/12.15, allocations: 0 / 4.902 GB, free: 40.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/12.15, allocations: 1.164 MB / 4.903 GB, free: 40.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006226/12.16, allocations: 1.193 MB / 4.904 GB, free: 40.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009676/12.17, allocations: 4.869 MB / 4.909 GB, free: 39.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/12.17, allocations: 2.021 MB / 4.911 GB, free: 39.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003519/12.17, allocations: 0.7272 MB / 4.911 GB, free: 39.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/12.17, allocations: 202.3 kB / 4.912 GB, free: 39.08 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/12.17, allocations: 0.9375 kB / 4.912 GB, free: 39.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.1266/12.3, allocations: 101.2 MB / 5.01 GB, free: 1.676 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)