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.001047/0.001047, allocations: 114.1 kB / 16.42 MB, free: 6.5 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.001134/0.001134, allocations: 186.6 kB / 17.35 MB, free: 5.762 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004169/0.004169, allocations: 290.7 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.359/1.359, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3799, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6275/1.007, allocations: 294.2 MB / 1.054 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02634/1.034, allocations: 23.06 MB / 1.077 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/1.037, allocations: 80 kB / 1.077 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004597/1.042, allocations: 1.87 MB / 1.079 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01488/1.057, allocations: 6.313 MB / 1.085 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007663/1.064, allocations: 2.921 MB / 1.088 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00881/1.073, allocations: 7.316 MB / 1.095 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004648/1.078, allocations: 2.982 MB / 1.098 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/1.084, allocations: 2.943 MB / 1.101 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/1.089, allocations: 2.701 MB / 1.103 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009548/1.09, allocations: 340 kB / 1.104 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/1.102, allocations: 6.022 MB / 1.11 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002021/1.104, allocations: 1.466 MB / 1.111 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003791/1.108, allocations: 1.897 MB / 1.113 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/1.121, allocations: 6.949 MB / 1.12 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.121, allocations: 0 / 1.12 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/1.121, allocations: 0 / 1.12 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001567/1.121, allocations: 3.938 kB / 1.12 GB, free: 11.81 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.01139/1.133, allocations: 4.091 MB / 1.124 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.133, allocations: 8.031 kB / 1.124 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006065/1.139, allocations: 0.8526 MB / 1.125 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/1.143, allocations: 1.864 MB / 1.126 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.143, allocations: 208.2 kB / 1.127 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/1.143, allocations: 270.7 kB / 1.127 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006715/1.15, allocations: 3.594 MB / 1.13 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.035e-05/1.15, allocations: 15.84 kB / 1.13 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/1.151, allocations: 114.6 kB / 1.13 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/1.151, allocations: 145.3 kB / 1.131 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006026/1.157, allocations: 3.285 MB / 1.134 GB, free: 13.19 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.01654/1.173, allocations: 14.2 MB / 1.148 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/1.177, allocations: 2.499 MB / 1.15 GB, free: 11.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.179, allocations: 1.345 MB / 1.151 GB, free: 9.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.18, allocations: 1.376 MB / 1.153 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/1.183, allocations: 1.226 MB / 1.154 GB, free: 7.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 7.675e-06/1.183, allocations: 3.984 kB / 1.154 GB, free: 7.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.005856/1.188, allocations: 3.176 MB / 1.157 GB, free: 3.906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.188, allocations: 73.41 kB / 1.157 GB, free: 3.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/1.19, allocations: 1.46 MB / 1.159 GB, free: 2.359 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.191, allocations: 61.7 kB / 1.159 GB, free: 2.293 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/1.191, allocations: 1.111 MB / 1.16 GB, free: 1.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006559/1.192, allocations: 0.7368 MB / 1.16 GB, free: 448 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/1.193, allocations: 359.5 kB / 1.161 GB, free: 80 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.193, allocations: 305.1 kB / 1.161 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.194, allocations: 0.9136 MB / 1.162 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/1.196, allocations: 1.254 MB / 1.163 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/1.2, allocations: 2.321 MB / 1.165 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.2, allocations: 4 kB / 1.165 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004505/1.205, allocations: 2.605 MB / 1.168 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/1.205, allocations: 37.7 kB / 1.168 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.205, allocations: 8 kB / 1.168 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/1.205, allocations: 16 kB / 1.168 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.207, allocations: 471.8 kB / 1.169 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.423e-05/1.207, allocations: 23.92 kB / 1.169 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.209, allocations: 186 kB / 1.169 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.209, allocations: 76 kB / 1.169 GB, free: 7.621 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.001149/1.21, allocations: 0.6884 MB / 1.169 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/1.211, allocations: 217.4 kB / 1.17 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/1.216, allocations: 2.519 MB / 1.172 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003512/1.219, allocations: 2.335 MB / 1.174 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.219, allocations: 0 / 1.174 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.22, allocations: 0.5331 MB / 1.175 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.221, allocations: 40 kB / 1.175 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.222, allocations: 66.81 kB / 1.175 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.222, allocations: 141.8 kB / 1.175 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005495/1.228, allocations: 2.636 MB / 1.178 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005992/1.234, allocations: 3.927 MB / 1.182 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00165/1.236, allocations: 1.167 MB / 1.183 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001413/1.237, allocations: 0.9866 MB / 1.184 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of Backend: time 4.91e-07/1.237, allocations: 0 / 1.184 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006054/1.243, allocations: 2.723 MB / 1.186 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01044/1.254, allocations: 6.17 MB / 1.192 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.09054/1.344, allocations: 61.85 MB / 1.253 GB, free: 2.156 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)