Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005825/0.005825, allocations: 97.06 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8437/0.8437, allocations: 143.3 MB / 433.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 59.62 kB / 0.5953 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1607, allocations: 82.04 MB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6044/0.7652, allocations: 294.6 MB / 0.9632 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03141/0.7967, allocations: 23.11 MB / 0.9858 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00333/0.8, allocations: 79.56 kB / 0.9858 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.805, allocations: 1.791 MB / 0.9876 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01491/0.8199, allocations: 6.128 MB / 0.9936 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00736/0.8273, allocations: 2.892 MB / 0.9964 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009992/0.8373, allocations: 7.32 MB / 1.004 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004366/0.8417, allocations: 2.975 MB / 1.006 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006525/0.8483, allocations: 2.878 MB / 1.009 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.8532, allocations: 2.715 MB / 1.012 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008081/0.854, allocations: 340 kB / 1.012 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.8661, allocations: 5.978 MB / 1.018 GB, free: 14.35 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.8683, allocations: 1.465 MB / 1.019 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003591/0.8719, allocations: 1.906 MB / 1.021 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.8857, allocations: 7.169 MB / 1.028 GB, free: 3.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8857, allocations: 0 / 1.028 GB, free: 3.777 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8858, allocations: 0 / 1.028 GB, free: 3.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001428/0.8859, allocations: 4 kB / 1.028 GB, free: 3.773 MB / 0.795 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.01078/0.8967, allocations: 4.202 MB / 1.032 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.8967, allocations: 8.031 kB / 1.032 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005395/0.8973, allocations: 388.1 kB / 1.033 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005349/0.9026, allocations: 0.8681 MB / 1.034 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.9061, allocations: 1.874 MB / 1.036 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.9063, allocations: 201.4 kB / 1.036 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/0.9068, allocations: 279.9 kB / 1.036 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006239/0.9131, allocations: 3.597 MB / 1.039 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.9131, allocations: 7.938 kB / 1.039 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/0.9134, allocations: 120 kB / 1.04 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.9136, allocations: 149.3 kB / 1.04 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005882/0.9195, allocations: 3.284 MB / 1.043 GB, free: 4.531 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01842/0.9379, allocations: 14.23 MB / 1.057 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.9422, allocations: 2.489 MB / 1.059 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.9445, allocations: 1.36 MB / 1.061 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.304/1.249, allocations: 1.37 MB / 1.062 GB, free: 314.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003007/1.252, allocations: 1.221 MB / 1.063 GB, free: 314.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 5.16e-06/1.252, allocations: 1.312 kB / 1.063 GB, free: 314.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006403/1.258, allocations: 3.174 MB / 1.066 GB, free: 313.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.258, allocations: 76.58 kB / 1.066 GB, free: 313.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/1.261, allocations: 1.461 MB / 1.068 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.261, allocations: 64.98 kB / 1.068 GB, free: 313 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009131/1.262, allocations: 1.14 MB / 1.069 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007057/1.263, allocations: 0.7717 MB / 1.07 GB, free: 311.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007264/1.263, allocations: 365 kB / 1.07 GB, free: 311.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.958e-05/1.263, allocations: 302 kB / 1.07 GB, free: 311.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/1.265, allocations: 0.914 MB / 1.071 GB, free: 311.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.267, allocations: 1.251 MB / 1.072 GB, free: 310.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/1.271, allocations: 2.321 MB / 1.075 GB, free: 309.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/1.271, allocations: 2.594 kB / 1.075 GB, free: 309.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004799/1.276, allocations: 2.611 MB / 1.077 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/1.276, allocations: 39.73 kB / 1.077 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.276, allocations: 8.062 kB / 1.077 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.93e-05/1.276, allocations: 16.09 kB / 1.077 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.278, allocations: 464.9 kB / 1.078 GB, free: 308.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-05/1.278, allocations: 25.97 kB / 1.078 GB, free: 308.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.28, allocations: 196.8 kB / 1.078 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/1.28, allocations: 76.06 kB / 1.078 GB, free: 308 MB / 0.8262 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.282, allocations: 0.6853 MB / 1.079 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005787/1.282, allocations: 222.7 kB / 1.079 GB, free: 307.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/1.287, allocations: 2.523 MB / 1.081 GB, free: 306.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.287, allocations: 21.91 kB / 1.081 GB, free: 306.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.287, allocations: 7.688 kB / 1.081 GB, free: 306.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003382/1.29, allocations: 2.325 MB / 1.084 GB, free: 305.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/1.3, allocations: 5.617 MB / 1.089 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.3, allocations: 5.594 kB / 1.089 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.302, allocations: 474 kB / 1.09 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/1.302, allocations: 16.47 kB / 1.09 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/1.302, allocations: 55.22 kB / 1.09 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/1.302, allocations: 8.969 kB / 1.09 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.302, allocations: 6.938 kB / 1.09 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/1.307, allocations: 3.811 MB / 1.093 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/1.308, allocations: 0.5521 MB / 1.094 GB, free: 301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/1.308, allocations: 47.48 kB / 1.094 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.31, allocations: 59.89 kB / 1.094 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.31, allocations: 155.6 kB / 1.094 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.31, allocations: 66.09 kB / 1.094 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001211/1.311, allocations: 0.9923 MB / 1.095 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.311, allocations: 0 / 1.095 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001951/1.313, allocations: 0.9418 MB / 1.096 GB, free: 300.4 MB / 0.8262 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005377/1.319, allocations: 4.642 MB / 1.101 GB, free: 298.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003332/1.322, allocations: 2.342 MB / 1.103 GB, free: 297.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.322, allocations: 3.531 kB / 1.103 GB, free: 297.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.324, allocations: 1.227 MB / 1.104 GB, free: 296.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/1.329, allocations: 1.299 MB / 1.105 GB, free: 296.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/1.353, allocations: 18.63 MB / 1.124 GB, free: 277.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/1.355, allocations: 1.971 MB / 1.126 GB, free: 275.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002245/1.357, allocations: 0.7234 MB / 1.126 GB, free: 274.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.358, allocations: 1.101 MB / 1.127 GB, free: 273.6 MB / 0.8262 GB Notification: Performance of SimCode: time 8.72e-07/1.358, allocations: 0 / 1.127 GB, free: 273.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/1.468, allocations: 65.85 MB / 1.192 GB, free: 208.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.81, allocations: 10.44 kB / 1.192 GB, free: 208.5 MB / 0.8262 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)