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.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 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.001395/0.001395, allocations: 196 kB / 16.53 MB, free: 6.699 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004177/0.004177, allocations: 290.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.6/1.6, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 101.4 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1468, allocations: 89.14 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5824/0.7293, allocations: 294.2 MB / 0.9809 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03183/0.7612, allocations: 23.06 MB / 1.003 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.764, allocations: 75.62 kB / 1.004 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004513/0.7686, allocations: 1.791 MB / 1.005 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.7827, allocations: 6.13 MB / 1.011 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007059/0.7898, allocations: 2.886 MB / 1.014 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0092/0.799, allocations: 7.288 MB / 1.021 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004247/0.8033, allocations: 2.977 MB / 1.024 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005834/0.8091, allocations: 2.876 MB / 1.027 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004675/0.8138, allocations: 2.699 MB / 1.03 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.8149, allocations: 340 kB / 1.03 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.8275, allocations: 5.982 MB / 1.036 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.8297, allocations: 1.473 MB / 1.037 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.8326, allocations: 1.898 MB / 1.039 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.8443, allocations: 6.888 MB / 1.046 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8443, allocations: 0 / 1.046 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8443, allocations: 0 / 1.046 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.653e-05/0.8444, allocations: 4 kB / 1.046 GB, free: 2.406 MB / 0.7637 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.2669/1.111, allocations: 4.09 MB / 1.05 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.111, allocations: 11.06 kB / 1.05 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005487/1.112, allocations: 390.2 kB / 1.05 GB, free: 283.9 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/1.118, allocations: 0.8427 MB / 1.051 GB, free: 283.7 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/1.121, allocations: 1.794 MB / 1.053 GB, free: 282.7 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.121, allocations: 210.2 kB / 1.053 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/1.121, allocations: 281.8 kB / 1.053 GB, free: 282.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/1.127, allocations: 3.598 MB / 1.057 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/1.127, allocations: 4.703 kB / 1.057 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/1.127, allocations: 114.6 kB / 1.057 GB, free: 281 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/1.128, allocations: 145.8 kB / 1.057 GB, free: 281 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/1.133, allocations: 3.286 MB / 1.06 GB, free: 279.9 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.01374/1.147, allocations: 14.3 MB / 1.074 GB, free: 269.3 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/1.15, allocations: 2.485 MB / 1.077 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.152, allocations: 1.353 MB / 1.078 GB, free: 267.6 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000886/1.153, allocations: 1.375 MB / 1.079 GB, free: 266.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/1.155, allocations: 1.227 MB / 1.08 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 3.848e-06/1.155, allocations: 3.938 kB / 1.08 GB, free: 265.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005439/1.16, allocations: 3.17 MB / 1.083 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.16, allocations: 78.5 kB / 1.084 GB, free: 264.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/1.162, allocations: 1.453 MB / 1.085 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.162, allocations: 69.7 kB / 1.085 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/1.163, allocations: 1.115 MB / 1.086 GB, free: 262.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/1.163, allocations: 0.7285 MB / 1.087 GB, free: 261.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/1.164, allocations: 359.4 kB / 1.087 GB, free: 261.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.204e-05/1.164, allocations: 301.1 kB / 1.087 GB, free: 261.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.165, allocations: 0.9145 MB / 1.088 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/1.167, allocations: 1.256 MB / 1.09 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/1.17, allocations: 2.32 MB / 1.092 GB, free: 258.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.17, allocations: 4.156 kB / 1.092 GB, free: 258.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003957/1.174, allocations: 2.605 MB / 1.094 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.174, allocations: 38.02 kB / 1.094 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.174, allocations: 7.438 kB / 1.094 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.174, allocations: 21.19 kB / 1.094 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/1.176, allocations: 467.1 kB / 1.095 GB, free: 257 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/1.176, allocations: 22.41 kB / 1.095 GB, free: 257 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.178, allocations: 189.5 kB / 1.095 GB, free: 256.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.178, allocations: 77.95 kB / 1.095 GB, free: 256.9 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.0009901/1.179, allocations: 0.688 MB / 1.096 GB, free: 256.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/1.179, allocations: 220.5 kB / 1.096 GB, free: 256.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/1.183, allocations: 2.519 MB / 1.099 GB, free: 254.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.183, allocations: 19.47 kB / 1.099 GB, free: 254.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.183, allocations: 0 / 1.099 GB, free: 254.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002792/1.186, allocations: 2.33 MB / 1.101 GB, free: 253.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007209/1.193, allocations: 5.611 MB / 1.106 GB, free: 250.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.193, allocations: 3.781 kB / 1.106 GB, free: 250.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.195, allocations: 476.5 kB / 1.107 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.195, allocations: 10.81 kB / 1.107 GB, free: 250.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.195, allocations: 51.17 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.195, allocations: 19.44 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.195, allocations: 5 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/1.2, allocations: 3.803 MB / 1.111 GB, free: 246.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/1.2, allocations: 0.5332 MB / 1.111 GB, free: 245.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/1.201, allocations: 48 kB / 1.111 GB, free: 245.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.202, allocations: 65.52 kB / 1.111 GB, free: 245.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/1.202, allocations: 145 kB / 1.111 GB, free: 245.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.203, allocations: 67.98 kB / 1.111 GB, free: 245.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001004/1.204, allocations: 0.9945 MB / 1.112 GB, free: 244.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.31e-07/1.204, allocations: 0 / 1.112 GB, free: 244.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001709/1.205, allocations: 0.9389 MB / 1.113 GB, free: 243.4 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.005076/1.21, allocations: 4.639 MB / 1.118 GB, free: 238.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007163/1.218, allocations: 3.875 MB / 1.122 GB, free: 235 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.218, allocations: 4 kB / 1.122 GB, free: 235 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.219, allocations: 1.224 MB / 1.123 GB, free: 233.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005686/1.225, allocations: 1.291 MB / 1.124 GB, free: 232.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/1.248, allocations: 20.25 MB / 1.144 GB, free: 211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.249, allocations: 1.971 MB / 1.146 GB, free: 209 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002571/1.252, allocations: 0.7216 MB / 1.146 GB, free: 208.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.253, allocations: 1.097 MB / 1.148 GB, free: 207.2 MB / 0.7637 GB Notification: Performance of SimCode: time 6.91e-07/1.253, allocations: 0 / 1.148 GB, free: 207.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09402/1.347, allocations: 65.14 MB / 1.211 GB, free: 142.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.629/10.98, allocations: 7.031 kB / 1.211 GB, free: 142.8 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)