Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_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.005599/0.005599, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001273/0.001273, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 70.94 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 80.21 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6749/0.8437, allocations: 294.2 MB / 0.9466 GB, free: 9.695 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03307/0.8768, allocations: 23.03 MB / 0.9691 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/0.8819, allocations: 75.62 kB / 0.9691 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005857/0.8878, allocations: 1.794 MB / 0.9709 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.9051, allocations: 6.121 MB / 0.9769 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008815/0.9139, allocations: 2.884 MB / 0.9797 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.9242, allocations: 7.309 MB / 0.9868 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006334/0.9306, allocations: 2.983 MB / 0.9897 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008657/0.9393, allocations: 2.908 MB / 0.9926 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005667/0.945, allocations: 2.717 MB / 0.9952 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.946, allocations: 344 kB / 0.9955 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.9598, allocations: 5.982 MB / 1.001 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.9623, allocations: 1.473 MB / 1.003 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004159/0.9664, allocations: 1.898 MB / 1.005 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.9817, allocations: 6.946 MB / 1.011 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9817, allocations: 0 / 1.011 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9817, allocations: 0 / 1.011 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001414/0.9819, allocations: 0 / 1.011 GB, free: 7.621 MB / 0.7325 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.01115/0.993, allocations: 4.096 MB / 1.015 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9931, allocations: 11.97 kB / 1.015 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008614/0.994, allocations: 400 kB / 1.016 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.9998, allocations: 0.843 MB / 1.017 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/1.004, allocations: 1.861 MB / 1.018 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.004, allocations: 205.4 kB / 1.019 GB, free: 76 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000549/1.004, allocations: 279.9 kB / 1.019 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006502/1.011, allocations: 3.59 MB / 1.022 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/1.011, allocations: 7.938 kB / 1.022 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/1.011, allocations: 112 kB / 1.023 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/1.011, allocations: 145.3 kB / 1.023 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/1.017, allocations: 3.28 MB / 1.026 GB, free: 8.531 MB / 0.7481 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.01549/1.032, allocations: 14.19 MB / 1.04 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/1.036, allocations: 2.509 MB / 1.042 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/1.038, allocations: 1.352 MB / 1.044 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.039, allocations: 1.378 MB / 1.045 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/1.041, allocations: 1.214 MB / 1.046 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.048e-06/1.041, allocations: 0 / 1.046 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005543/1.046, allocations: 3.161 MB / 1.049 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.047, allocations: 81.33 kB / 1.049 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.049, allocations: 1.456 MB / 1.051 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/1.049, allocations: 69.64 kB / 1.051 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009713/1.05, allocations: 1.115 MB / 1.052 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/1.051, allocations: 0.7315 MB / 1.053 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006022/1.051, allocations: 367.5 kB / 1.053 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/1.052, allocations: 301.1 kB / 1.053 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.053, allocations: 0.9097 MB / 1.054 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/1.055, allocations: 1.27 MB / 1.055 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/1.059, allocations: 2.325 MB / 1.058 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.059, allocations: 0 / 1.058 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00462/1.063, allocations: 2.605 MB / 1.06 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.063, allocations: 33.7 kB / 1.06 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.063, allocations: 8 kB / 1.06 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/1.063, allocations: 16 kB / 1.06 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.065, allocations: 467.7 kB / 1.061 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/1.065, allocations: 27.94 kB / 1.061 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.067, allocations: 192.6 kB / 1.061 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.068, allocations: 80 kB / 1.061 GB, free: 2.785 MB / 0.7794 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.001423/1.069, allocations: 0.6845 MB / 1.062 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/1.07, allocations: 217.4 kB / 1.062 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/1.074, allocations: 2.519 MB / 1.064 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.074, allocations: 20 kB / 1.064 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.074, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003343/1.078, allocations: 2.323 MB / 1.067 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/1.087, allocations: 5.588 MB / 1.072 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/1.087, allocations: 7.984 kB / 1.072 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.089, allocations: 483.7 kB / 1.072 GB, free: 6.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/1.089, allocations: 12 kB / 1.072 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.089, allocations: 47.98 kB / 1.073 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/1.089, allocations: 12 kB / 1.073 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.089, allocations: 4 kB / 1.073 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/1.095, allocations: 4.001 MB / 1.076 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.096, allocations: 0.5371 MB / 1.077 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.096, allocations: 40 kB / 1.077 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.098, allocations: 65.27 kB / 1.077 GB, free: 1.961 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.098, allocations: 157.7 kB / 1.077 GB, free: 1.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.098, allocations: 67.97 kB / 1.077 GB, free: 1.738 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001366/1.1, allocations: 0.9906 MB / 1.078 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 0 / 1.078 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002186/1.102, allocations: 0.9274 MB / 1.079 GB, free: 15.82 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.006765/1.108, allocations: 4.825 MB / 1.084 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00372/1.112, allocations: 2.345 MB / 1.086 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.112, allocations: 0 / 1.086 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.114, allocations: 1.227 MB / 1.087 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/1.119, allocations: 1.29 MB / 1.089 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/1.148, allocations: 18.48 MB / 1.107 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.15, allocations: 1.964 MB / 1.109 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002401/1.152, allocations: 0.7249 MB / 1.109 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.154, allocations: 1.101 MB / 1.11 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of SimCode: time 5.92e-07/1.154, allocations: 0 / 1.11 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4141/1.568, allocations: 66.82 MB / 1.176 GB, free: 344.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.96, allocations: 15.33 kB / 1.176 GB, free: 344.3 MB / 0.8575 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)