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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.001371/0.001371, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004267/0.004267, allocations: 286.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.542/1.542, allocations: 169.3 MB / 0.4982 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 96.42 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1532, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5362/0.6895, allocations: 294.2 MB / 0.9676 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02923/0.7187, allocations: 23.05 MB / 0.9901 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.7216, allocations: 83.56 kB / 0.9902 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004301/0.7259, allocations: 1.787 MB / 0.992 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.7402, allocations: 6.126 MB / 0.9979 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007075/0.7473, allocations: 2.873 MB / 1.001 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00853/0.7559, allocations: 7.3 MB / 1.008 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.7601, allocations: 2.968 MB / 1.011 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005894/0.766, allocations: 2.864 MB / 1.014 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.7704, allocations: 2.719 MB / 1.016 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009314/0.7713, allocations: 344 kB / 1.017 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.7827, allocations: 5.982 MB / 1.022 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.7847, allocations: 1.465 MB / 1.024 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.7875, allocations: 1.91 MB / 1.026 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.7988, allocations: 6.888 MB / 1.032 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7988, allocations: 0 / 1.032 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7988, allocations: 0 / 1.032 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.417e-05/0.7989, allocations: 0 / 1.032 GB, free: 14.27 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.00964/0.8085, allocations: 4.1 MB / 1.036 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.8086, allocations: 8.031 kB / 1.036 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004608/0.8091, allocations: 388.1 kB / 1.037 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.8145, allocations: 0.8468 MB / 1.038 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.8173, allocations: 1.791 MB / 1.039 GB, free: 7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.8175, allocations: 201.4 kB / 1.04 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.8179, allocations: 279.9 kB / 1.04 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.8234, allocations: 3.601 MB / 1.043 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.8235, allocations: 7.984 kB / 1.043 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.8238, allocations: 112 kB / 1.043 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.8239, allocations: 157.2 kB / 1.044 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.8294, allocations: 3.288 MB / 1.047 GB, free: 15.23 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.253/1.082, allocations: 14.29 MB / 1.061 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/1.086, allocations: 2.476 MB / 1.063 GB, free: 290.8 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/1.088, allocations: 1.354 MB / 1.065 GB, free: 290.6 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008833/1.089, allocations: 1.376 MB / 1.066 GB, free: 289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/1.091, allocations: 1.225 MB / 1.067 GB, free: 288.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 3.557e-06/1.091, allocations: 3.609 kB / 1.067 GB, free: 288.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005276/1.096, allocations: 3.169 MB / 1.07 GB, free: 287.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.096, allocations: 78.41 kB / 1.07 GB, free: 287.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.098, allocations: 1.457 MB / 1.072 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.098, allocations: 63.33 kB / 1.072 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/1.099, allocations: 1.119 MB / 1.073 GB, free: 286.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/1.099, allocations: 0.7311 MB / 1.074 GB, free: 285.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004716/1.1, allocations: 368.1 kB / 1.074 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/1.1, allocations: 301.7 kB / 1.074 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.101, allocations: 0.9094 MB / 1.075 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/1.103, allocations: 1.251 MB / 1.076 GB, free: 284.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/1.106, allocations: 2.326 MB / 1.079 GB, free: 283 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.106, allocations: 2.375 kB / 1.079 GB, free: 283 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003843/1.109, allocations: 2.595 MB / 1.081 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.11, allocations: 40.95 kB / 1.081 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.11, allocations: 7.625 kB / 1.081 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.11, allocations: 16.25 kB / 1.081 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/1.111, allocations: 463.8 kB / 1.082 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/1.112, allocations: 25.03 kB / 1.082 GB, free: 281.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.113, allocations: 199.8 kB / 1.082 GB, free: 281.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.114, allocations: 77 kB / 1.082 GB, free: 281.7 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.001071/1.115, allocations: 0.6825 MB / 1.083 GB, free: 281.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.115, allocations: 213.3 kB / 1.083 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/1.119, allocations: 2.516 MB / 1.085 GB, free: 280.2 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/1.119, allocations: 21.81 kB / 1.085 GB, free: 280.2 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.119, allocations: 0 / 1.085 GB, free: 280.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00318/1.123, allocations: 2.334 MB / 1.088 GB, free: 279.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007559/1.13, allocations: 5.623 MB / 1.093 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.13, allocations: 1.375 kB / 1.093 GB, free: 276.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.132, allocations: 474.5 kB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.132, allocations: 9.625 kB / 1.093 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/1.132, allocations: 54.05 kB / 1.094 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.133, allocations: 9.625 kB / 1.094 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.133, allocations: 6.688 kB / 1.094 GB, free: 276.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/1.137, allocations: 3.805 MB / 1.097 GB, free: 275 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/1.138, allocations: 0.534 MB / 1.098 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.139, allocations: 52.75 kB / 1.098 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.14, allocations: 62.47 kB / 1.098 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.14, allocations: 149.4 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.14, allocations: 70.91 kB / 1.098 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001086/1.141, allocations: 0.9841 MB / 1.099 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.141, allocations: 0 / 1.099 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001772/1.143, allocations: 0.9431 MB / 1.1 GB, free: 273.9 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.005176/1.148, allocations: 4.62 MB / 1.104 GB, free: 271.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006835/1.155, allocations: 3.886 MB / 1.108 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.155, allocations: 0 / 1.108 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/1.157, allocations: 1.221 MB / 1.109 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.005085/1.162, allocations: 1.295 MB / 1.111 GB, free: 268.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.183, allocations: 20.26 MB / 1.131 GB, free: 247.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009932/1.184, allocations: 1.964 MB / 1.132 GB, free: 245.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002295/1.186, allocations: 0.7311 MB / 1.133 GB, free: 244.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.187, allocations: 1.097 MB / 1.134 GB, free: 243.4 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/1.187, allocations: 0 / 1.134 GB, free: 243.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08099/1.268, allocations: 65.14 MB / 1.198 GB, free: 179.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/10.39, allocations: 5.969 kB / 1.198 GB, free: 179.1 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)