Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_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.001022/0.001021, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001255/0.001255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 12.69 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7371/0.9314, allocations: 268.8 MB / 0.8499 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5205/1.452, allocations: 21.49 MB / 0.8709 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004453/1.456, allocations: 61.09 kB / 0.871 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004953/1.461, allocations: 1.176 MB / 0.8721 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/1.475, allocations: 4.451 MB / 0.8765 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0075/1.482, allocations: 2.048 MB / 0.8785 GB, free: 9.961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01355/1.496, allocations: 8.945 MB / 0.8872 GB, free: 9.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005355/1.501, allocations: 2.256 MB / 0.8894 GB, free: 25.64 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/1.508, allocations: 2.367 MB / 0.8917 GB, free: 25.64 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007341/1.516, allocations: 2.615 MB / 0.8943 GB, free: 25.63 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00151/1.517, allocations: 166.2 kB / 0.8944 GB, free: 25.63 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/1.529, allocations: 3.133 MB / 0.8975 GB, free: 25.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003555/1.533, allocations: 1.283 MB / 0.8988 GB, free: 25.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/1.536, allocations: 0.6737 MB / 0.8994 GB, free: 25.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/1.547, allocations: 4.658 MB / 0.904 GB, free: 25.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.547, allocations: 0 / 0.904 GB, free: 25.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.625e-06/1.547, allocations: 0 / 0.904 GB, free: 25.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002865/1.547, allocations: 0 / 0.904 GB, free: 25.18 MB / 0.6856 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.01369/1.561, allocations: 3.533 MB / 0.9074 GB, free: 23.55 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.561, allocations: 8.75 kB / 0.9074 GB, free: 23.55 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001725/1.563, allocations: 403.5 kB / 0.9078 GB, free: 23.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/1.57, allocations: 0.8398 MB / 0.9086 GB, free: 23.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/1.576, allocations: 1.846 MB / 0.9104 GB, free: 22.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/1.576, allocations: 211.8 kB / 0.9106 GB, free: 22.85 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.577, allocations: 282.5 kB / 0.9109 GB, free: 22.85 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00869/1.586, allocations: 3.583 MB / 0.9144 GB, free: 22.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-05/1.586, allocations: 8.469 kB / 0.9144 GB, free: 22.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/1.587, allocations: 111.6 kB / 0.9145 GB, free: 22.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/1.587, allocations: 150.4 kB / 0.9147 GB, free: 22.47 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/1.593, allocations: 3.281 MB / 0.9179 GB, free: 22.43 MB / 0.6856 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.02167/1.615, allocations: 14.16 MB / 0.9317 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/1.619, allocations: 2.536 MB / 0.9342 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/1.621, allocations: 1.361 MB / 0.9355 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.622, allocations: 1.382 MB / 0.9368 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/1.624, allocations: 1.232 MB / 0.938 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=216): time 4.248e-06/1.624, allocations: 0 / 0.938 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216): time 0.005468/1.629, allocations: 3.203 MB / 0.9412 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.629, allocations: 77.16 kB / 0.9413 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.632, allocations: 1.44 MB / 0.9427 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/1.632, allocations: 69.94 kB / 0.9427 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008641/1.633, allocations: 1.114 MB / 0.9438 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006588/1.633, allocations: 0.7432 MB / 0.9445 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.633, allocations: 44.03 kB / 0.9446 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.634, allocations: 382.4 kB / 0.9449 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.635, allocations: 0.9187 MB / 0.9458 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/1.637, allocations: 1.295 MB / 0.9471 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/1.638, allocations: 1.134 MB / 0.9482 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.638, allocations: 0 / 0.9482 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004217/1.643, allocations: 2.613 MB / 0.9508 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/1.643, allocations: 35.83 kB / 0.9508 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.643, allocations: 7.312 kB / 0.9508 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/1.643, allocations: 16.59 kB / 0.9508 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.645, allocations: 487.9 kB / 0.9513 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/1.645, allocations: 24.16 kB / 0.9513 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/1.648, allocations: 368.5 kB / 0.9517 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.648, allocations: 80.3 kB / 0.9517 GB, free: 6.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001532/1.649, allocations: 0.6905 MB / 0.9524 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/1.65, allocations: 213.9 kB / 0.9526 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/1.654, allocations: 2.552 MB / 0.9551 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.654, allocations: 20.03 kB / 0.9551 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.654, allocations: 7.938 kB / 0.9551 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/1.657, allocations: 2.347 MB / 0.9574 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009999/1.667, allocations: 5.635 MB / 0.9629 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.667, allocations: 2.406 kB / 0.9629 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.67, allocations: 496.5 kB / 0.9634 GB, free: 3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.336e-05/1.67, allocations: 15.98 kB / 0.9634 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.67, allocations: 49.98 kB / 0.9635 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/1.67, allocations: 14.91 kB / 0.9635 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.67, allocations: 4 kB / 0.9635 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.676, allocations: 4.026 MB / 0.9674 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.677, allocations: 0.545 MB / 0.968 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/1.678, allocations: 50.86 kB / 0.968 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.68, allocations: 236.6 kB / 0.9682 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.68, allocations: 158.4 kB / 0.9684 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.68, allocations: 71.7 kB / 0.9684 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001369/1.682, allocations: 0.9774 MB / 0.9694 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.682, allocations: 0 / 0.9694 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002779/1.684, allocations: 0.9485 MB / 0.9703 GB, free: 13.77 MB / 0.7012 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006415/1.691, allocations: 4.873 MB / 0.9751 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003634/1.695, allocations: 2.359 MB / 0.9774 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.695, allocations: 4 kB / 0.9774 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.696, allocations: 1.234 MB / 0.9786 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005836/1.702, allocations: 1.246 MB / 0.9798 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.73, allocations: 16.55 MB / 0.996 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.731, allocations: 1.969 MB / 0.9979 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003163/1.735, allocations: 0.729 MB / 0.9986 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.736, allocations: 1.102 MB / 0.9997 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.736, allocations: 0 / 0.9997 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/1.841, allocations: 65.88 MB / 1.064 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.841, allocations: 218.4 kB / 1.064 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/5.575, allocations: 4 kB / 1.064 GB, free: 3.961 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: