Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009912/0.0009914, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4996/0.4996, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 99.83 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.863e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 72.32 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.198/4.333, allocations: 1.935 GB / 2.489 GB, free: 223.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/4.333, allocations: 90.39 kB / 2.489 GB, free: 223.8 MB / 0.6042 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.599/11.93, allocations: 2.114 GB / 4.602 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/11.93, allocations: 0 / 4.602 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003186/11.93, allocations: 78.83 kB / 4.602 GB, free: 57.53 MB / 0.6823 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.015/11.95, allocations: 3.594 MB / 4.606 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/11.95, allocations: 7.219 kB / 4.606 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/11.95, allocations: 0.8367 MB / 4.607 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/11.96, allocations: 2.188 MB / 4.609 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/11.96, allocations: 88.25 kB / 4.609 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/11.96, allocations: 168.1 kB / 4.609 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006418/11.97, allocations: 2.699 MB / 4.612 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00801/11.98, allocations: 3.036 MB / 4.615 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/11.98, allocations: 15.11 kB / 4.615 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007481/11.98, allocations: 3.062 kB / 4.615 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/11.98, allocations: 126.6 kB / 4.615 GB, free: 54.7 MB / 0.6823 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.01728/12, allocations: 14.15 MB / 4.629 GB, free: 46.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/12, allocations: 2.808 MB / 4.631 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/12, allocations: 1.248 MB / 4.633 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009637/12, allocations: 1.385 MB / 4.634 GB, free: 43.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/12, allocations: 1.165 MB / 4.635 GB, free: 42.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=213): time 5.26e-06/12, allocations: 0 / 4.635 GB, free: 42.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213): time 0.003926/12.01, allocations: 2.208 MB / 4.637 GB, free: 41.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/12.01, allocations: 76.28 kB / 4.637 GB, free: 41.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/12.01, allocations: 0.9733 MB / 4.638 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/12.01, allocations: 35.8 kB / 4.638 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009067/12.01, allocations: 1.118 MB / 4.639 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/12.01, allocations: 0.7068 MB / 4.64 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/12.01, allocations: 4 kB / 4.64 GB, free: 39.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001118/12.01, allocations: 384.3 kB / 4.641 GB, free: 39.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/12.01, allocations: 0.8662 MB / 4.641 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/12.01, allocations: 1.263 MB / 4.643 GB, free: 37.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/12.01, allocations: 1.1 MB / 4.644 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/12.01, allocations: 4 kB / 4.644 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003723/12.02, allocations: 2.437 MB / 4.646 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/12.02, allocations: 38.12 kB / 4.646 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/12.02, allocations: 12 kB / 4.646 GB, free: 34.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/12.02, allocations: 20 kB / 4.646 GB, free: 34.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/12.02, allocations: 461.8 kB / 4.647 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/12.02, allocations: 23.55 kB / 4.647 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/12.02, allocations: 347.1 kB / 4.647 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/12.02, allocations: 87.45 kB / 4.647 GB, free: 34.04 MB / 0.6823 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.0003879/12.02, allocations: 144.5 kB / 4.647 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003425/12.03, allocations: 2.174 MB / 4.649 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/12.03, allocations: 197.7 kB / 4.649 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003713/12.03, allocations: 2.407 MB / 4.652 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/12.03, allocations: 20 kB / 4.652 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/12.03, allocations: 0 / 4.652 GB, free: 29.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002771/12.03, allocations: 2.274 MB / 4.654 GB, free: 27.59 MB / 0.6823 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.008493/12.04, allocations: 5.531 MB / 4.659 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/12.04, allocations: 4 kB / 4.659 GB, free: 22.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/12.04, allocations: 484.2 kB / 4.66 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/12.04, allocations: 10.84 kB / 4.66 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/12.05, allocations: 39.67 kB / 4.66 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/12.05, allocations: 12 kB / 4.66 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/12.05, allocations: 0 / 4.66 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/12.05, allocations: 3.746 MB / 4.664 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/12.05, allocations: 0.5281 MB / 4.664 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/12.05, allocations: 12 kB / 4.664 GB, free: 18.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/12.05, allocations: 217.4 kB / 4.664 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/12.05, allocations: 138 kB / 4.665 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/12.05, allocations: 76.94 kB / 4.665 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001039/12.06, allocations: 0.7447 MB / 4.665 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/12.06, allocations: 4 kB / 4.665 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003324/12.06, allocations: 1.189 MB / 4.666 GB, free: 16.37 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.01152/12.07, allocations: 10.13 MB / 4.676 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00346/12.07, allocations: 2.231 MB / 4.679 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/12.07, allocations: 8.125 kB / 4.679 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/12.08, allocations: 1.165 MB / 4.68 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/12.08, allocations: 1.03 MB / 4.681 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/12.09, allocations: 5.502 MB / 4.686 GB, free: 13.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/12.09, allocations: 2.021 MB / 4.688 GB, free: 11.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003327/12.1, allocations: 0.7165 MB / 4.689 GB, free: 10.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/12.1, allocations: 1.089 MB / 4.69 GB, free: 9.633 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/12.1, allocations: 0 / 4.69 GB, free: 9.633 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6632/12.76, allocations: 89.45 MB / 4.777 GB, free: 78.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/12.76, allocations: 165.1 kB / 4.777 GB, free: 78.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.026/17.79, allocations: 0 / 4.777 GB, free: 78.44 MB / 0.698 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)