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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8065/0.8065, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001201/0.001201, allocations: 183.9 kB / 182.2 MB, free: 9.449 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.418/1.418, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001002/0.001002, allocations: 102.3 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 273.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4019, allocations: 82.77 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.098/4.5, allocations: 1.941 GB / 2.699 GB, free: 78.53 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/4.5, allocations: 85.14 kB / 2.699 GB, free: 78.48 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.306/11.81, allocations: 2.102 GB / 4.801 GB, free: 66.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.264e-06/11.81, allocations: 2.844 kB / 4.801 GB, free: 66.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002119/11.81, allocations: 73.86 kB / 4.801 GB, free: 66.54 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.01293/11.82, allocations: 3.604 MB / 4.805 GB, free: 65.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/11.82, allocations: 10.44 kB / 4.805 GB, free: 65.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/11.83, allocations: 0.8274 MB / 4.806 GB, free: 65.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005493/11.83, allocations: 2.154 MB / 4.808 GB, free: 64.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/11.83, allocations: 88.31 kB / 4.808 GB, free: 64.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/11.83, allocations: 173.6 kB / 4.808 GB, free: 64.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004842/11.84, allocations: 2.688 MB / 4.811 GB, free: 64.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/11.84, allocations: 3.033 MB / 4.814 GB, free: 64.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/11.84, allocations: 6.906 kB / 4.814 GB, free: 64.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/11.84, allocations: 8.906 kB / 4.814 GB, free: 64.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/11.84, allocations: 136.3 kB / 4.814 GB, free: 64.53 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.01592/11.86, allocations: 14.13 MB / 4.828 GB, free: 56.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/11.86, allocations: 2.789 MB / 4.83 GB, free: 55.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/11.86, allocations: 1.249 MB / 4.832 GB, free: 55.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/11.86, allocations: 1.386 MB / 4.833 GB, free: 53.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/11.87, allocations: 1.162 MB / 4.834 GB, free: 53.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=213): time 4.498e-06/11.87, allocations: 0 / 4.834 GB, free: 53.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=213): time 0.004099/11.87, allocations: 2.198 MB / 4.836 GB, free: 53.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/11.87, allocations: 74.34 kB / 4.836 GB, free: 53.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/11.87, allocations: 0.97 MB / 4.837 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/11.87, allocations: 29.61 kB / 4.837 GB, free: 53.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009832/11.87, allocations: 1.117 MB / 4.838 GB, free: 52.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/11.87, allocations: 0.7028 MB / 4.839 GB, free: 52.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/11.87, allocations: 0 / 4.839 GB, free: 52.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001187/11.87, allocations: 385.5 kB / 4.839 GB, free: 51.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/11.88, allocations: 0.8659 MB / 4.84 GB, free: 51.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/11.88, allocations: 1.284 MB / 4.842 GB, free: 51.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/11.88, allocations: 1.094 MB / 4.843 GB, free: 51.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/11.88, allocations: 1.875 kB / 4.843 GB, free: 51.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003869/11.88, allocations: 2.435 MB / 4.845 GB, free: 51.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/11.88, allocations: 37.08 kB / 4.845 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/11.88, allocations: 9.781 kB / 4.845 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.541e-05/11.88, allocations: 19.72 kB / 4.845 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/11.88, allocations: 468.4 kB / 4.846 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/11.88, allocations: 17.12 kB / 4.846 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/11.89, allocations: 307.6 kB / 4.846 GB, free: 51.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/11.89, allocations: 84.28 kB / 4.846 GB, free: 51.1 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.0003751/11.89, allocations: 153.9 kB / 4.846 GB, free: 50.99 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003416/11.89, allocations: 2.157 MB / 4.848 GB, free: 50.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/11.89, allocations: 190.9 kB / 4.848 GB, free: 50.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/11.9, allocations: 2.381 MB / 4.851 GB, free: 50.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/11.9, allocations: 24.78 kB / 4.851 GB, free: 50.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/11.9, allocations: 0 / 4.851 GB, free: 50.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002859/11.9, allocations: 2.246 MB / 4.853 GB, free: 50.21 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.009898/11.91, allocations: 5.517 MB / 4.858 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/11.91, allocations: 3.969 kB / 4.858 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/11.91, allocations: 485.7 kB / 4.859 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/11.91, allocations: 9.469 kB / 4.859 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/11.91, allocations: 39.89 kB / 4.859 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/11.91, allocations: 13.78 kB / 4.859 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/11.91, allocations: 0 / 4.859 GB, free: 49.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/11.92, allocations: 4.025 MB / 4.863 GB, free: 48.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/11.92, allocations: 0.5322 MB / 4.863 GB, free: 48.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/11.92, allocations: 9.25 kB / 4.863 GB, free: 48.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/11.92, allocations: 214.1 kB / 4.863 GB, free: 48.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/11.92, allocations: 146.2 kB / 4.864 GB, free: 48.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/11.92, allocations: 85.11 kB / 4.864 GB, free: 48.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001348/11.92, allocations: 0.7285 MB / 4.864 GB, free: 48.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.6e-07/11.92, allocations: 0 / 4.864 GB, free: 48.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003715/11.93, allocations: 1.187 MB / 4.866 GB, free: 48.21 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.01261/11.94, allocations: 10.42 MB / 4.876 GB, free: 44.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004/11.94, allocations: 2.241 MB / 4.878 GB, free: 44.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/11.94, allocations: 6.438 kB / 4.878 GB, free: 44.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/11.95, allocations: 1.162 MB / 4.879 GB, free: 44.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005785/11.95, allocations: 1.016 MB / 4.88 GB, free: 44.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/11.96, allocations: 5.475 MB / 4.885 GB, free: 42.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/11.96, allocations: 2.019 MB / 4.887 GB, free: 42.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003281/11.97, allocations: 0.7197 MB / 4.888 GB, free: 42.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/11.97, allocations: 1.088 MB / 4.889 GB, free: 42.12 MB / 0.7761 GB Notification: Performance of SimCode: time 9.81e-07/11.97, allocations: 0 / 4.889 GB, free: 42.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1809/12.15, allocations: 89.48 MB / 4.977 GB, free: 30.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/12.15, allocations: 177.2 kB / 4.977 GB, free: 29.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.231/17.38, allocations: 3.938 kB / 4.977 GB, free: 29.9 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)