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.8149/0.8149, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001308/0.001308, allocations: 183.2 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.49/1.49, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.001011/0.001011, allocations: 94.05 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 276.3 kB / 0.594 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.342e-05/5.359e-05, allocations: 3.984 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5287, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/5.11, allocations: 1.942 GB / 2.706 GB, free: 103.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.11, allocations: 92.02 kB / 2.706 GB, free: 103.7 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 8.508/13.62, allocations: 2.124 GB / 4.831 GB, free: 60.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.545e-06/13.62, allocations: 0 / 4.831 GB, free: 60.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0004655/13.62, allocations: 73.3 kB / 4.831 GB, free: 60.94 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.01605/13.63, allocations: 3.597 MB / 4.835 GB, free: 59.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/13.63, allocations: 12.66 kB / 4.835 GB, free: 59.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001767/13.64, allocations: 389.4 kB / 4.835 GB, free: 59.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007111/13.64, allocations: 0.835 MB / 4.836 GB, free: 59.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007564/13.65, allocations: 2.151 MB / 4.838 GB, free: 59.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/13.65, allocations: 214.3 kB / 4.838 GB, free: 59.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/13.65, allocations: 282.5 kB / 4.838 GB, free: 59.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009425/13.66, allocations: 3.421 MB / 4.842 GB, free: 58.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/13.66, allocations: 12.53 kB / 4.842 GB, free: 58.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007638/13.66, allocations: 111.8 kB / 4.842 GB, free: 58.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/13.66, allocations: 134.7 kB / 4.842 GB, free: 58.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/13.67, allocations: 3.026 MB / 4.845 GB, free: 58.64 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.02185/13.69, allocations: 14.44 MB / 4.859 GB, free: 50.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/13.7, allocations: 2.227 MB / 4.861 GB, free: 49.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/13.7, allocations: 1.291 MB / 4.862 GB, free: 49.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/13.7, allocations: 1.383 MB / 4.864 GB, free: 48.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/13.7, allocations: 1.168 MB / 4.865 GB, free: 48.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=213): time 5.841e-06/13.7, allocations: 0 / 4.865 GB, free: 48.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=213): time 0.004977/13.71, allocations: 2.182 MB / 4.867 GB, free: 47.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/13.71, allocations: 78.86 kB / 4.867 GB, free: 47.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/13.71, allocations: 1.231 MB / 4.868 GB, free: 47.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003114/13.71, allocations: 74.48 kB / 4.868 GB, free: 47.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/13.71, allocations: 1.112 MB / 4.869 GB, free: 47.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008501/13.71, allocations: 0.7305 MB / 4.87 GB, free: 46.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/13.71, allocations: 38.16 kB / 4.87 GB, free: 46.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001904/13.71, allocations: 385.3 kB / 4.871 GB, free: 46.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/13.71, allocations: 0.8562 MB / 4.871 GB, free: 46.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/13.72, allocations: 1.285 MB / 4.873 GB, free: 45.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/13.72, allocations: 1.095 MB / 4.874 GB, free: 45.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/13.72, allocations: 0 / 4.874 GB, free: 45.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004635/13.72, allocations: 2.5 MB / 4.876 GB, free: 45.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/13.72, allocations: 40.61 kB / 4.876 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/13.72, allocations: 8.594 kB / 4.876 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.443e-05/13.72, allocations: 21.7 kB / 4.876 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/13.72, allocations: 448.4 kB / 4.877 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-05/13.72, allocations: 28.42 kB / 4.877 GB, free: 45.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/13.73, allocations: 364.8 kB / 4.877 GB, free: 45.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/13.73, allocations: 76.92 kB / 4.877 GB, free: 45.52 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.000468/13.73, allocations: 223.2 kB / 4.877 GB, free: 45.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000738/13.73, allocations: 213.1 kB / 4.878 GB, free: 45.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/13.73, allocations: 2.421 MB / 4.88 GB, free: 45.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/13.73, allocations: 19.88 kB / 4.88 GB, free: 45.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/13.73, allocations: 5.797 kB / 4.88 GB, free: 45.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/13.74, allocations: 2.238 MB / 4.882 GB, free: 44.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/13.75, allocations: 5.484 MB / 4.887 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/13.75, allocations: 3.125 kB / 4.887 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/13.75, allocations: 472.7 kB / 4.888 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.139e-05/13.75, allocations: 9.938 kB / 4.888 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/13.75, allocations: 61.73 kB / 4.888 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/13.75, allocations: 9.688 kB / 4.888 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/13.75, allocations: 6.312 kB / 4.888 GB, free: 44.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/13.76, allocations: 3.997 MB / 4.892 GB, free: 43.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/13.76, allocations: 0.5402 MB / 4.892 GB, free: 43.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007123/13.76, allocations: 45.69 kB / 4.892 GB, free: 43.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/13.76, allocations: 243.2 kB / 4.893 GB, free: 43.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/13.76, allocations: 143.1 kB / 4.893 GB, free: 43.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/13.76, allocations: 77.58 kB / 4.893 GB, free: 43.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001987/13.77, allocations: 0.9559 MB / 4.894 GB, free: 43.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.1e-07/13.77, allocations: 1.531 kB / 4.894 GB, free: 43.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005369/13.77, allocations: 1.361 MB / 4.895 GB, free: 43.05 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.01556/13.79, allocations: 9.961 MB / 4.905 GB, free: 39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005006/13.79, allocations: 2.236 MB / 4.907 GB, free: 38.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/13.79, allocations: 6.656 kB / 4.907 GB, free: 38.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/13.79, allocations: 1.156 MB / 4.908 GB, free: 38.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007308/13.8, allocations: 1.201 MB / 4.909 GB, free: 38.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/13.82, allocations: 5.593 MB / 4.915 GB, free: 37.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/13.82, allocations: 2.019 MB / 4.917 GB, free: 36.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004149/13.82, allocations: 0.7206 MB / 4.918 GB, free: 36.92 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/13.83, allocations: 1.107 MB / 4.919 GB, free: 36.91 MB / 0.7761 GB Notification: Performance of SimCode: time 1.533e-06/13.83, allocations: 0 / 4.919 GB, free: 36.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8457/14.67, allocations: 136 MB / 5.051 GB, free: 89.16 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/14.67, allocations: 211.4 kB / 5.052 GB, free: 88.94 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/21.5, allocations: 0 / 5.052 GB, free: 88.94 MB / 0.8073 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)