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.004223/0.004228, allocations: 107.1 kB / 15.74 MB, free: 5.996 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.001024/0.001024, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7367/0.7367, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.8 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 80.2 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5955/0.7344, allocations: 294.2 MB / 0.9466 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02913/0.7636, allocations: 23.02 MB / 0.969 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.7666, allocations: 79.62 kB / 0.9691 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005096/0.7717, allocations: 1.876 MB / 0.9709 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01588/0.7876, allocations: 6.309 MB / 0.9771 GB, free: 152 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008866/0.7965, allocations: 2.925 MB / 0.98 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008721/0.8053, allocations: 7.315 MB / 0.9871 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.8092, allocations: 2.983 MB / 0.99 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/0.8147, allocations: 2.958 MB / 0.9929 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.8188, allocations: 2.709 MB / 0.9956 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007929/0.8196, allocations: 340 kB / 0.9959 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.8304, allocations: 6.013 MB / 1.002 GB, free: 6.852 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.8322, allocations: 1.469 MB / 1.003 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.8356, allocations: 1.898 MB / 1.005 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.8474, allocations: 6.942 MB / 1.012 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8475, allocations: 0 / 1.012 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8475, allocations: 0 / 1.012 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001685/0.8476, allocations: 0 / 1.012 GB, free: 12.51 MB / 0.7794 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/0.8578, allocations: 4.092 MB / 1.016 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8578, allocations: 8.031 kB / 1.016 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004264/0.8583, allocations: 400 kB / 1.016 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.8635, allocations: 0.8468 MB / 1.017 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.8664, allocations: 1.865 MB / 1.019 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.8666, allocations: 205.4 kB / 1.019 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/0.867, allocations: 276 kB / 1.019 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005803/0.8728, allocations: 3.594 MB / 1.023 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/0.8729, allocations: 7.938 kB / 1.023 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.8731, allocations: 108 kB / 1.023 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.8733, allocations: 149.2 kB / 1.023 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005953/0.8793, allocations: 3.28 MB / 1.026 GB, free: 13.42 MB / 0.795 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.01546/0.8947, allocations: 14.19 MB / 1.04 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.8982, allocations: 2.514 MB / 1.043 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.9, allocations: 1.349 MB / 1.044 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.9011, allocations: 1.375 MB / 1.045 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.9029, allocations: 1.218 MB / 1.046 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 4.218e-06/0.903, allocations: 0 / 1.046 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.005427/0.9084, allocations: 3.16 MB / 1.05 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.9085, allocations: 85.27 kB / 1.05 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.9104, allocations: 1.452 MB / 1.051 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.9105, allocations: 69.69 kB / 1.051 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008392/0.9114, allocations: 1.127 MB / 1.052 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.912, allocations: 0.7276 MB / 1.053 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.9125, allocations: 363.5 kB / 1.053 GB, free: 140 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.2867/1.199, allocations: 301.1 kB / 1.054 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.201, allocations: 0.9037 MB / 1.054 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/1.203, allocations: 1.271 MB / 1.056 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.207, allocations: 2.321 MB / 1.058 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.207, allocations: 2.562 kB / 1.058 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004832/1.211, allocations: 2.594 MB / 1.06 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/1.211, allocations: 38.88 kB / 1.06 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.211, allocations: 8.297 kB / 1.061 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.195e-05/1.212, allocations: 21.47 kB / 1.061 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.214, allocations: 469.6 kB / 1.061 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.898e-05/1.214, allocations: 22.36 kB / 1.061 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.216, allocations: 196.6 kB / 1.061 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/1.216, allocations: 77.38 kB / 1.061 GB, free: 311.6 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.001419/1.217, allocations: 0.6839 MB / 1.062 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/1.218, allocations: 214.7 kB / 1.062 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.222, allocations: 2.519 MB / 1.065 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.222, allocations: 24.06 kB / 1.065 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.222, allocations: 2 kB / 1.065 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003225/1.225, allocations: 2.323 MB / 1.067 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00849/1.234, allocations: 5.595 MB / 1.072 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.234, allocations: 6.828 kB / 1.072 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.236, allocations: 479 kB / 1.073 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/1.236, allocations: 9.219 kB / 1.073 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.236, allocations: 58.58 kB / 1.073 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/1.236, allocations: 9.719 kB / 1.073 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.236, allocations: 10 kB / 1.073 GB, free: 306.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/1.242, allocations: 3.983 MB / 1.077 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/1.242, allocations: 0.5396 MB / 1.077 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/1.243, allocations: 50.06 kB / 1.077 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.244, allocations: 57.62 kB / 1.077 GB, free: 304.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.244, allocations: 147.6 kB / 1.078 GB, free: 304.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.244, allocations: 73.7 kB / 1.078 GB, free: 304.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001152/1.246, allocations: 0.9883 MB / 1.079 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/1.246, allocations: 0 / 1.079 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001944/1.247, allocations: 0.9421 MB / 1.08 GB, free: 303.9 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.005138/1.253, allocations: 4.813 MB / 1.084 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002994/1.256, allocations: 2.348 MB / 1.087 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.256, allocations: 0 / 1.087 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.257, allocations: 1.222 MB / 1.088 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.261, allocations: 1.301 MB / 1.089 GB, free: 300 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.281, allocations: 18.48 MB / 1.107 GB, free: 284.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.282, allocations: 1.968 MB / 1.109 GB, free: 282.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002041/1.284, allocations: 0.729 MB / 1.11 GB, free: 281.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.286, allocations: 1.097 MB / 1.111 GB, free: 280.7 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/1.286, allocations: 0 / 1.111 GB, free: 280.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07596/1.362, allocations: 65.79 MB / 1.175 GB, free: 215.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.86, allocations: 0 / 1.175 GB, free: 215.4 MB / 0.8106 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)