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.001089/0.00109, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001072/0.001072, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 282.6 kB / 291.4 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.3 MB / 0.4989 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 101.8 kB / 0.5967 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1316, allocations: 86.98 MB / 0.6816 GB, free: 16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.5266/0.6582, allocations: 294.2 MB / 0.9689 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.6859, allocations: 23.05 MB / 0.9914 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.6885, allocations: 79.62 kB / 0.9915 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.6927, allocations: 1.791 MB / 0.9933 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.7062, allocations: 6.127 MB / 0.9993 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.7131, allocations: 2.894 MB / 1.002 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008849/0.722, allocations: 7.303 MB / 1.009 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003739/0.7258, allocations: 2.981 MB / 1.012 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005536/0.7313, allocations: 2.87 MB / 1.015 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.7355, allocations: 2.711 MB / 1.018 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.736, allocations: 348 kB / 1.018 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.7471, allocations: 5.986 MB / 1.024 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.749, allocations: 1.473 MB / 1.025 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.7515, allocations: 1.898 MB / 1.027 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.7623, allocations: 6.934 MB / 1.034 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7623, allocations: 0 / 1.034 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7623, allocations: 0 / 1.034 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.7624, allocations: 4 kB / 1.034 GB, free: 13.87 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.008767/0.7712, allocations: 4.092 MB / 1.038 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.7712, allocations: 8.031 kB / 1.038 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/0.7766, allocations: 0.843 MB / 1.039 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.7801, allocations: 1.865 MB / 1.04 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.7802, allocations: 205.4 kB / 1.041 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.7806, allocations: 279.8 kB / 1.041 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.786, allocations: 3.6 MB / 1.044 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.7861, allocations: 7.938 kB / 1.044 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.7864, allocations: 112 kB / 1.045 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.7865, allocations: 149.3 kB / 1.045 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005425/0.792, allocations: 3.288 MB / 1.048 GB, free: 15.16 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.2693/1.061, allocations: 14.21 MB / 1.062 GB, free: 290.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/1.065, allocations: 2.478 MB / 1.064 GB, free: 290.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.067, allocations: 1.358 MB / 1.066 GB, free: 290.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/1.068, allocations: 1.372 MB / 1.067 GB, free: 288.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/1.07, allocations: 1.222 MB / 1.068 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.558e-06/1.07, allocations: 0 / 1.068 GB, free: 288.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005399/1.076, allocations: 3.169 MB / 1.071 GB, free: 287.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/1.076, allocations: 83 kB / 1.071 GB, free: 287.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.077, allocations: 1.45 MB / 1.073 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/1.078, allocations: 68.55 kB / 1.073 GB, free: 286.5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/1.078, allocations: 1.117 MB / 1.074 GB, free: 285.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/1.079, allocations: 0.7301 MB / 1.075 GB, free: 285.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/1.079, allocations: 364 kB / 1.075 GB, free: 285.1 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/1.079, allocations: 309.7 kB / 1.075 GB, free: 284.8 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.081, allocations: 0.9134 MB / 1.076 GB, free: 284.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.082, allocations: 1.254 MB / 1.077 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/1.085, allocations: 2.32 MB / 1.08 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.085, allocations: 3.844 kB / 1.08 GB, free: 282.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003942/1.089, allocations: 2.6 MB / 1.082 GB, free: 281.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.089, allocations: 39.44 kB / 1.082 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.089, allocations: 9.906 kB / 1.082 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.089, allocations: 16.03 kB / 1.082 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/1.091, allocations: 461 kB / 1.083 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/1.091, allocations: 25.55 kB / 1.083 GB, free: 281.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.093, allocations: 190.7 kB / 1.083 GB, free: 281.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.093, allocations: 79.11 kB / 1.083 GB, free: 281.3 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.001138/1.094, allocations: 0.6845 MB / 1.084 GB, free: 281 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/1.095, allocations: 214.4 kB / 1.084 GB, free: 280.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/1.099, allocations: 2.516 MB / 1.086 GB, free: 279.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.099, allocations: 24.66 kB / 1.086 GB, free: 279.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.099, allocations: 5 kB / 1.086 GB, free: 279.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003379/1.103, allocations: 2.326 MB / 1.089 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008779/1.112, allocations: 5.607 MB / 1.094 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.112, allocations: 2.75 kB / 1.094 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.114, allocations: 479 kB / 1.094 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/1.114, allocations: 10.28 kB / 1.094 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/1.114, allocations: 55.92 kB / 1.095 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/1.114, allocations: 13.19 kB / 1.095 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.114, allocations: 7.469 kB / 1.095 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/1.119, allocations: 3.799 MB / 1.098 GB, free: 274.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.12, allocations: 0.5375 MB / 1.099 GB, free: 274.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.121, allocations: 49.34 kB / 1.099 GB, free: 274.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.122, allocations: 61.16 kB / 1.099 GB, free: 274.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/1.122, allocations: 152 kB / 1.099 GB, free: 274.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.122, allocations: 73.42 kB / 1.099 GB, free: 274.2 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001067/1.123, allocations: 0.9943 MB / 1.1 GB, free: 273.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.123, allocations: 0 / 1.1 GB, free: 273.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001761/1.125, allocations: 0.9321 MB / 1.101 GB, free: 273.6 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.0006/1.126, allocations: 381.8 kB / 1.101 GB, free: 273.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003026/1.129, allocations: 2.345 MB / 1.104 GB, free: 272.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.129, allocations: 0 / 1.104 GB, free: 272.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.13, allocations: 1.226 MB / 1.105 GB, free: 272.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/1.135, allocations: 1.297 MB / 1.106 GB, free: 271.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/1.142, allocations: 5.769 MB / 1.112 GB, free: 268.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.143, allocations: 1.975 MB / 1.114 GB, free: 266.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002059/1.145, allocations: 0.7236 MB / 1.114 GB, free: 266.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/1.145, allocations: 195.4 kB / 1.115 GB, free: 266 MB / 0.7637 GB Notification: Performance of SimCode: time 1.392e-06/1.145, allocations: 0 / 1.115 GB, free: 266 MB / 0.7637 GB Notification: Performance of Templates: time 0.05649/1.202, allocations: 47.34 MB / 1.161 GB, free: 219.4 MB / 0.7637 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)