Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_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.001326/0.001326, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001436/0.001436, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9384/0.9384, allocations: 122.8 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3328, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.5194/0.8522, allocations: 294.2 MB / 0.8546 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.8774, allocations: 23.05 MB / 0.8771 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.8808, allocations: 77.5 kB / 0.8772 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.8853, allocations: 1.803 MB / 0.879 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.8989, allocations: 6.118 MB / 0.8849 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.9055, allocations: 2.878 MB / 0.8877 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008001/0.9135, allocations: 7.296 MB / 0.8949 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003999/0.9176, allocations: 2.982 MB / 0.8978 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/0.9229, allocations: 2.875 MB / 0.9006 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/0.9269, allocations: 2.702 MB / 0.9032 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008253/0.9278, allocations: 340 kB / 0.9035 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.9388, allocations: 5.986 MB / 0.9094 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.9406, allocations: 1.465 MB / 0.9108 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.9437, allocations: 1.898 MB / 0.9127 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.9548, allocations: 6.892 MB / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9548, allocations: 0 / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9548, allocations: 0 / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001344/0.955, allocations: 0 / 0.9194 GB, free: 14.08 MB / 0.6387 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.009996/0.965, allocations: 4.096 MB / 0.9234 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.965, allocations: 12.62 kB / 0.9234 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005819/0.9656, allocations: 388.1 kB / 0.9238 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.9708, allocations: 0.843 MB / 0.9246 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.9737, allocations: 1.787 MB / 0.9264 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.9739, allocations: 213.4 kB / 0.9266 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.9743, allocations: 279.9 kB / 0.9268 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/0.9798, allocations: 3.601 MB / 0.9303 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.9799, allocations: 11.88 kB / 0.9304 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.9801, allocations: 116 kB / 0.9305 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.9803, allocations: 141.3 kB / 0.9306 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/0.9856, allocations: 3.288 MB / 0.9338 GB, free: 15.04 MB / 0.6544 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.01621/1.002, allocations: 14.31 MB / 0.9478 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/1.006, allocations: 2.486 MB / 0.9502 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/1.008, allocations: 1.352 MB / 0.9515 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.009, allocations: 1.378 MB / 0.9529 GB, free: 9.918 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.011, allocations: 1.226 MB / 0.9541 GB, free: 8.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 3.847e-06/1.011, allocations: 0 / 0.9541 GB, free: 8.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.005613/1.016, allocations: 3.175 MB / 0.9572 GB, free: 5.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/1.016, allocations: 73.41 kB / 0.9572 GB, free: 5.414 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/1.019, allocations: 1.456 MB / 0.9587 GB, free: 3.953 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/1.019, allocations: 61.7 kB / 0.9587 GB, free: 3.887 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009199/1.02, allocations: 1.119 MB / 0.9598 GB, free: 2.754 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/1.02, allocations: 0.7277 MB / 0.9605 GB, free: 2.016 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005482/1.021, allocations: 359.5 kB / 0.9609 GB, free: 1.656 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.021, allocations: 305.1 kB / 0.9612 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.023, allocations: 0.9136 MB / 0.9621 GB, free: 448 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.024, allocations: 1.262 MB / 0.9633 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/1.028, allocations: 2.317 MB / 0.9655 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.028, allocations: 4 kB / 0.9656 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004232/1.032, allocations: 2.602 MB / 0.9681 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.032, allocations: 41.84 kB / 0.9681 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.032, allocations: 11.94 kB / 0.9681 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.032, allocations: 16 kB / 0.9682 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.034, allocations: 459.3 kB / 0.9686 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.752e-05/1.034, allocations: 19.98 kB / 0.9686 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.036, allocations: 197.9 kB / 0.9688 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.036, allocations: 75.98 kB / 0.9689 GB, free: 9.199 MB / 0.6856 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.001074/1.037, allocations: 0.6816 MB / 0.9695 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/1.038, allocations: 213.5 kB / 0.9697 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/1.042, allocations: 2.534 MB / 0.9722 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.042, allocations: 20 kB / 0.9722 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.042, allocations: 0 / 0.9722 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003306/1.045, allocations: 2.327 MB / 0.9745 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/1.053, allocations: 5.607 MB / 0.98 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.053, allocations: 0 / 0.98 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.056, allocations: 479.7 kB / 0.9804 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/1.056, allocations: 8 kB / 0.9805 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.056, allocations: 55.97 kB / 0.9805 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/1.056, allocations: 15.88 kB / 0.9805 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.056, allocations: 4.062 kB / 0.9805 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/1.061, allocations: 3.807 MB / 0.9842 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009197/1.062, allocations: 0.5332 MB / 0.9848 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.062, allocations: 51.98 kB / 0.9848 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.064, allocations: 63.84 kB / 0.9849 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.064, allocations: 149.7 kB / 0.985 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.064, allocations: 71.97 kB / 0.9851 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001239/1.066, allocations: 0.9866 MB / 0.9861 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/1.066, allocations: 4 kB / 0.9861 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001891/1.068, allocations: 0.935 MB / 0.987 GB, free: 6.395 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.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.006172/1.074, allocations: 4.624 MB / 0.9915 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007426/1.081, allocations: 3.879 MB / 0.9953 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.081, allocations: 0 / 0.9953 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.083, allocations: 1.225 MB / 0.9965 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/1.088, allocations: 1.298 MB / 0.9977 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/1.115, allocations: 20.25 MB / 1.018 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.116, allocations: 1.971 MB / 1.019 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002549/1.119, allocations: 0.7249 MB / 1.02 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.12, allocations: 1.097 MB / 1.021 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/1.12, allocations: 4 kB / 1.021 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2923/1.413, allocations: 65.07 MB / 1.085 GB, free: 275.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/10.1, allocations: 4.469 kB / 1.085 GB, free: 275.9 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)