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: translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 106 kB / 16.41 MB, free: 6.496 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.001287/0.001287, allocations: 191 kB / 17.34 MB, free: 5.766 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004418/0.004418, allocations: 284.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.401/1.401, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 92.08 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6397, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 1.036/1.676, allocations: 294.2 MB / 1.054 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.034/1.71, allocations: 23.06 MB / 1.077 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005818/1.716, allocations: 80.22 kB / 1.077 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006007/1.722, allocations: 1.791 MB / 1.079 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01961/1.741, allocations: 6.132 MB / 1.085 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009769/1.751, allocations: 2.892 MB / 1.088 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01222/1.763, allocations: 7.293 MB / 1.095 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006528/1.77, allocations: 2.985 MB / 1.098 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009586/1.779, allocations: 2.909 MB / 1.1 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006429/1.786, allocations: 2.707 MB / 1.103 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001775/1.788, allocations: 344 kB / 1.103 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01716/1.805, allocations: 5.985 MB / 1.109 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003315/1.808, allocations: 1.469 MB / 1.111 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006178/1.814, allocations: 1.909 MB / 1.113 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02045/1.835, allocations: 6.933 MB / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/1.835, allocations: 0 / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.116e-06/1.835, allocations: 0 / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002353/1.835, allocations: 0 / 1.119 GB, free: 12.21 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.01585/1.851, allocations: 4.095 MB / 1.123 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/1.851, allocations: 12.03 kB / 1.123 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/1.859, allocations: 0.8481 MB / 1.124 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006309/1.865, allocations: 1.859 MB / 1.126 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/1.865, allocations: 204.7 kB / 1.126 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/1.866, allocations: 279.3 kB / 1.126 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0095/1.876, allocations: 3.598 MB / 1.13 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.876, allocations: 11.91 kB / 1.13 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005919/1.877, allocations: 116.6 kB / 1.13 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/1.877, allocations: 149.2 kB / 1.13 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007485/1.884, allocations: 3.276 MB / 1.133 GB, free: 13.6 MB / 0.7794 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.02376/1.908, allocations: 14.21 MB / 1.147 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/1.913, allocations: 2.49 MB / 1.15 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/1.915, allocations: 1.352 MB / 1.151 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.917, allocations: 1.38 MB / 1.152 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002419/1.919, allocations: 1.218 MB / 1.154 GB, free: 7.492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 5.29e-06/1.919, allocations: 3.938 kB / 1.154 GB, free: 7.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.006884/1.926, allocations: 3.179 MB / 1.157 GB, free: 4.305 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/1.926, allocations: 73.41 kB / 1.157 GB, free: 4.223 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/1.929, allocations: 1.456 MB / 1.158 GB, free: 2.762 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.929, allocations: 65.7 kB / 1.158 GB, free: 2.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.931, allocations: 1.118 MB / 1.159 GB, free: 1.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008991/1.932, allocations: 0.7341 MB / 1.16 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007386/1.932, allocations: 363.5 kB / 1.16 GB, free: 484 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.932, allocations: 305.1 kB / 1.161 GB, free: 176 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.934, allocations: 0.9097 MB / 1.162 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.936, allocations: 1.258 MB / 1.163 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/1.94, allocations: 2.321 MB / 1.165 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.94, allocations: 4 kB / 1.165 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005134/1.945, allocations: 2.601 MB / 1.168 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/1.945, allocations: 37.7 kB / 1.168 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.945, allocations: 8 kB / 1.168 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.912e-05/1.946, allocations: 16 kB / 1.168 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.948, allocations: 467.9 kB / 1.168 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.645e-05/1.948, allocations: 19.94 kB / 1.168 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.95, allocations: 190 kB / 1.168 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.95, allocations: 75.98 kB / 1.168 GB, free: 8.023 MB / 0.8106 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.001518/1.952, allocations: 0.6846 MB / 1.169 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/1.952, allocations: 213.5 kB / 1.169 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/1.957, allocations: 2.522 MB / 1.172 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.957, allocations: 24 kB / 1.172 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.957, allocations: 0 / 1.172 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003779/1.961, allocations: 2.331 MB / 1.174 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/1.972, allocations: 5.606 MB / 1.18 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.972, allocations: 0 / 1.18 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.975, allocations: 471.7 kB / 1.18 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-05/1.975, allocations: 16.05 kB / 1.18 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.975, allocations: 59.92 kB / 1.18 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.975, allocations: 8 kB / 1.18 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/1.975, allocations: 11.94 kB / 1.18 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006657/1.982, allocations: 3.798 MB / 1.184 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.983, allocations: 0.5371 MB / 1.184 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.984, allocations: 44 kB / 1.184 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.986, allocations: 67.02 kB / 1.184 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/1.986, allocations: 149.7 kB / 1.185 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.986, allocations: 67.98 kB / 1.185 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001977/1.988, allocations: 0.9866 MB / 1.186 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.633e-06/1.988, allocations: 0 / 1.186 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002928/1.991, allocations: 0.9467 MB / 1.187 GB, free: 5.281 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.0009823/1.992, allocations: 392.8 kB / 1.187 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.996, allocations: 2.337 MB / 1.189 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.997, allocations: 4 kB / 1.189 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.999, allocations: 1.214 MB / 1.19 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006978/2.006, allocations: 1.295 MB / 1.192 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/2.019, allocations: 5.946 MB / 1.197 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003541/2.023, allocations: 1.975 MB / 1.199 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/2.025, allocations: 215.4 kB / 1.2 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of SimCode: time 2.094e-06/2.025, allocations: 0 / 1.2 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.07826/2.103, allocations: 42.19 MB / 1.241 GB, free: 13.91 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)