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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.308/1.308, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004421/0.004421, allocations: 280.9 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.139/2.139, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 97.27 kB / 0.5955 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.98 MB / 0.6804 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5722/0.7366, allocations: 294.2 MB / 0.9678 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03079/0.7675, allocations: 23.06 MB / 0.9903 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.7715, allocations: 75.62 kB / 0.9904 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.7769, allocations: 1.791 MB / 0.9921 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.7945, allocations: 6.126 MB / 0.9981 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008751/0.8032, allocations: 2.897 MB / 1.001 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009968/0.8132, allocations: 7.303 MB / 1.008 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004368/0.8176, allocations: 2.969 MB / 1.011 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006862/0.8245, allocations: 2.879 MB / 1.014 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/0.8298, allocations: 2.717 MB / 1.016 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008949/0.8307, allocations: 340 kB / 1.017 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.842, allocations: 5.986 MB / 1.023 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.844, allocations: 1.465 MB / 1.024 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.8468, allocations: 1.914 MB / 1.026 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.8606, allocations: 6.931 MB / 1.033 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8606, allocations: 3.984 kB / 1.033 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8606, allocations: 0 / 1.033 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000105/0.8607, allocations: 0 / 1.033 GB, free: 14.06 MB / 0.7481 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.01023/0.871, allocations: 4.093 MB / 1.037 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.871, allocations: 12.02 kB / 1.037 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005958/0.8716, allocations: 396 kB / 1.037 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/0.8773, allocations: 0.8468 MB / 1.038 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.8819, allocations: 1.849 MB / 1.04 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.8821, allocations: 209.4 kB / 1.04 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006209/0.8827, allocations: 279.9 kB / 1.04 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006457/0.8892, allocations: 3.601 MB / 1.044 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.8892, allocations: 3.938 kB / 1.044 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.8895, allocations: 120 kB / 1.044 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.8897, allocations: 145.2 kB / 1.044 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.8951, allocations: 3.296 MB / 1.047 GB, free: 14.95 MB / 0.7637 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.2859/1.181, allocations: 14.2 MB / 1.061 GB, free: 291 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/1.185, allocations: 2.474 MB / 1.063 GB, free: 290.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/1.188, allocations: 1.354 MB / 1.065 GB, free: 290.3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.189, allocations: 1.376 MB / 1.066 GB, free: 288.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/1.191, allocations: 1.227 MB / 1.067 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 5.741e-06/1.191, allocations: 0 / 1.067 GB, free: 288.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005407/1.196, allocations: 3.171 MB / 1.07 GB, free: 287.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.196, allocations: 75.84 kB / 1.07 GB, free: 287.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.198, allocations: 1.456 MB / 1.072 GB, free: 286.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/1.198, allocations: 64.92 kB / 1.072 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/1.199, allocations: 1.12 MB / 1.073 GB, free: 285.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/1.199, allocations: 0.7292 MB / 1.074 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/1.2, allocations: 363.8 kB / 1.074 GB, free: 285.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/1.2, allocations: 304.1 kB / 1.074 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.201, allocations: 0.9139 MB / 1.075 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.203, allocations: 1.25 MB / 1.077 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/1.206, allocations: 2.325 MB / 1.079 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.206, allocations: 2.031 kB / 1.079 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004052/1.21, allocations: 2.594 MB / 1.081 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.21, allocations: 35.91 kB / 1.081 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.21, allocations: 10.88 kB / 1.081 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.21, allocations: 14.88 kB / 1.081 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.212, allocations: 468.7 kB / 1.082 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/1.212, allocations: 30.62 kB / 1.082 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.214, allocations: 194.2 kB / 1.082 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.214, allocations: 78.02 kB / 1.082 GB, free: 281.5 MB / 0.7637 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.001181/1.215, allocations: 0.6817 MB / 1.083 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/1.216, allocations: 214.1 kB / 1.083 GB, free: 281 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.22, allocations: 2.522 MB / 1.085 GB, free: 280 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/1.22, allocations: 24.94 kB / 1.085 GB, free: 280 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.22, allocations: 0.8438 kB / 1.085 GB, free: 280 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003248/1.224, allocations: 2.325 MB / 1.088 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008036/1.232, allocations: 5.616 MB / 1.093 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.232, allocations: 2.719 kB / 1.093 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.234, allocations: 473 kB / 1.094 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/1.234, allocations: 9.25 kB / 1.094 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.234, allocations: 56.03 kB / 1.094 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/1.234, allocations: 14.06 kB / 1.094 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.234, allocations: 2.781 kB / 1.094 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/1.239, allocations: 3.81 MB / 1.097 GB, free: 274.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008915/1.24, allocations: 0.5358 MB / 1.098 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.24, allocations: 43.88 kB / 1.098 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.241, allocations: 64.33 kB / 1.098 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/1.242, allocations: 152.9 kB / 1.098 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.242, allocations: 67.25 kB / 1.098 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001083/1.243, allocations: 0.9869 MB / 1.099 GB, free: 273.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.243, allocations: 0 / 1.099 GB, free: 273.9 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001986/1.245, allocations: 0.9403 MB / 1.1 GB, free: 273.7 MB / 0.7637 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.006073/1.251, allocations: 4.619 MB / 1.105 GB, free: 271.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003908/1.255, allocations: 2.346 MB / 1.107 GB, free: 270.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.255, allocations: 0 / 1.107 GB, free: 270.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.257, allocations: 1.228 MB / 1.108 GB, free: 269.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/1.263, allocations: 1.301 MB / 1.109 GB, free: 269.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/1.297, allocations: 18.53 MB / 1.128 GB, free: 251.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/1.3, allocations: 1.971 MB / 1.129 GB, free: 249.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003276/1.303, allocations: 0.7238 MB / 1.13 GB, free: 248.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.305, allocations: 1.097 MB / 1.131 GB, free: 247.3 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/1.305, allocations: 0 / 1.131 GB, free: 247.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0925/1.397, allocations: 65.14 MB / 1.195 GB, free: 183 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.61, allocations: 6.312 kB / 1.195 GB, free: 183 MB / 0.7637 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/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)