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.001144/0.001143, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001167/0.001167, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.005602/0.005602, allocations: 293.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.597/1.597, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 95.84 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4032, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.6656/1.069, allocations: 294.2 MB / 1.054 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02756/1.096, allocations: 23.06 MB / 1.077 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003312/1.1, allocations: 81.94 kB / 1.077 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/1.104, allocations: 1.789 MB / 1.079 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/1.118, allocations: 6.124 MB / 1.085 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007035/1.125, allocations: 2.899 MB / 1.088 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008329/1.133, allocations: 7.296 MB / 1.095 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/1.137, allocations: 2.98 MB / 1.098 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005936/1.143, allocations: 2.918 MB / 1.1 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/1.147, allocations: 2.711 MB / 1.103 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007182/1.148, allocations: 340 kB / 1.103 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/1.16, allocations: 5.985 MB / 1.109 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/1.163, allocations: 1.459 MB / 1.111 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003166/1.166, allocations: 1.906 MB / 1.113 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.179, allocations: 6.939 MB / 1.119 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.179, allocations: 4 kB / 1.119 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/1.179, allocations: 4 kB / 1.119 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.636e-05/1.179, allocations: 0 / 1.119 GB, free: 12.17 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.01014/1.189, allocations: 4.085 MB / 1.123 GB, free: 8.039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.19, allocations: 8.031 kB / 1.123 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/1.195, allocations: 0.8547 MB / 1.124 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/1.199, allocations: 1.857 MB / 1.126 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.199, allocations: 211.2 kB / 1.126 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/1.199, allocations: 270.7 kB / 1.126 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00614/1.206, allocations: 3.6 MB / 1.13 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.946e-05/1.206, allocations: 11.84 kB / 1.13 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/1.206, allocations: 111.1 kB / 1.13 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/1.206, allocations: 153.3 kB / 1.13 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005838/1.212, allocations: 3.284 MB / 1.133 GB, free: 13.55 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.01793/1.23, allocations: 14.21 MB / 1.147 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/1.234, allocations: 2.489 MB / 1.15 GB, free: 11.69 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.236, allocations: 1.356 MB / 1.151 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.237, allocations: 1.377 MB / 1.152 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/1.239, allocations: 1.222 MB / 1.154 GB, free: 7.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 4.599e-06/1.239, allocations: 0 / 1.154 GB, free: 7.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.005819/1.245, allocations: 3.172 MB / 1.157 GB, free: 4.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.245, allocations: 77.41 kB / 1.157 GB, free: 4.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.247, allocations: 1.456 MB / 1.158 GB, free: 2.723 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/1.247, allocations: 69.7 kB / 1.158 GB, free: 2.648 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000915/1.248, allocations: 1.11 MB / 1.159 GB, free: 1.527 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/1.249, allocations: 0.7404 MB / 1.16 GB, free: 0.793 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/1.249, allocations: 355.5 kB / 1.16 GB, free: 448 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/1.249, allocations: 305.1 kB / 1.161 GB, free: 140 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.251, allocations: 0.9097 MB / 1.162 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/1.253, allocations: 1.262 MB / 1.163 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/1.256, allocations: 2.325 MB / 1.165 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.256, allocations: 3.938 kB / 1.165 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004463/1.261, allocations: 2.605 MB / 1.168 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/1.261, allocations: 33.7 kB / 1.168 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.261, allocations: 8 kB / 1.168 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/1.261, allocations: 16 kB / 1.168 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.263, allocations: 467.7 kB / 1.168 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/1.263, allocations: 20 kB / 1.168 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.265, allocations: 186 kB / 1.168 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/1.265, allocations: 83.98 kB / 1.168 GB, free: 7.977 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.001207/1.266, allocations: 0.6806 MB / 1.169 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/1.267, allocations: 217.5 kB / 1.169 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/1.271, allocations: 2.522 MB / 1.172 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003394/1.275, allocations: 2.327 MB / 1.174 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.275, allocations: 4 kB / 1.174 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.276, allocations: 0.5331 MB / 1.175 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/1.276, allocations: 43.98 kB / 1.175 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.278, allocations: 60.72 kB / 1.175 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.278, allocations: 145.7 kB / 1.175 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005319/1.283, allocations: 2.634 MB / 1.177 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005943/1.289, allocations: 3.935 MB / 1.181 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001641/1.291, allocations: 1.163 MB / 1.182 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001379/1.292, allocations: 0.9983 MB / 1.183 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Backend: time 4.61e-07/1.292, allocations: 0 / 1.183 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006124/1.299, allocations: 2.697 MB / 1.186 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of SimCode: time 0.009833/1.308, allocations: 6.18 MB / 1.192 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.09103/1.399, allocations: 61.85 MB / 1.252 GB, free: 2.52 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)