Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_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.001103/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001108/0.001108, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.14/1.14, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8136/0.8136, allocations: 143 MB / 433 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 63.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1226, allocations: 82.05 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6882/0.8108, allocations: 292.3 MB / 0.8792 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.8319, allocations: 23.31 MB / 0.902 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.8345, allocations: 67.69 kB / 0.902 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.8377, allocations: 1.561 MB / 0.9035 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.8487, allocations: 5.775 MB / 0.9092 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.8541, allocations: 2.63 MB / 0.9118 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0096/0.8637, allocations: 10.72 MB / 0.9222 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.8665, allocations: 2.525 MB / 0.9247 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.8713, allocations: 2.534 MB / 0.9272 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.8741, allocations: 2.821 MB / 0.9299 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.8744, allocations: 201.2 kB / 0.9301 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009754/0.8842, allocations: 6.908 MB / 0.9369 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.8852, allocations: 1.339 MB / 0.9382 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.8869, allocations: 1.758 MB / 0.9399 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.8947, allocations: 7.385 MB / 0.9471 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8947, allocations: 0 / 0.9471 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.72e-07/0.8947, allocations: 0 / 0.9471 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.8947, allocations: 0 / 0.9471 GB, free: 12.25 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.007715/0.9024, allocations: 4.098 MB / 0.9511 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.9025, allocations: 9.344 kB / 0.9511 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/0.9029, allocations: 397.4 kB / 0.9515 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.9077, allocations: 0.8429 MB / 0.9523 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.91, allocations: 1.796 MB / 0.9541 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.9101, allocations: 210.8 kB / 0.9543 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.9104, allocations: 269.7 kB / 0.9545 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.9151, allocations: 3.598 MB / 0.958 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.9152, allocations: 6.438 kB / 0.958 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.9154, allocations: 118.9 kB / 0.9582 GB, free: 7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.9156, allocations: 145.5 kB / 0.9583 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.9203, allocations: 3.293 MB / 0.9615 GB, free: 4.641 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.01214/0.9324, allocations: 14.15 MB / 0.9753 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.9357, allocations: 2.498 MB / 0.9778 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.9375, allocations: 1.352 MB / 0.9791 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.9385, allocations: 1.374 MB / 0.9804 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.9403, allocations: 1.219 MB / 0.9816 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.639e-06/0.9403, allocations: 4 kB / 0.9816 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005/0.9454, allocations: 3.177 MB / 0.9847 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.9454, allocations: 73.41 kB / 0.9848 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.947, allocations: 1.456 MB / 0.9862 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9471, allocations: 65.7 kB / 0.9863 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.9478, allocations: 1.118 MB / 0.9874 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.9483, allocations: 0.7327 MB / 0.9881 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.9488, allocations: 355.5 kB / 0.9884 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.9489, allocations: 305.1 kB / 0.9887 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.9503, allocations: 0.916 MB / 0.9896 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.9519, allocations: 1.25 MB / 0.9908 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.955, allocations: 2.32 MB / 0.9931 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.9551, allocations: 0 / 0.9931 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003726/0.9588, allocations: 2.601 MB / 0.9956 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.9588, allocations: 41.7 kB / 0.9957 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9588, allocations: 7.938 kB / 0.9957 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.9589, allocations: 20 kB / 0.9957 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.9607, allocations: 468.4 kB / 0.9962 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.9607, allocations: 23.06 kB / 0.9962 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.9628, allocations: 397.7 kB / 0.9966 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.963, allocations: 75.98 kB / 0.9966 GB, free: 1.215 MB / 0.7169 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.0008553/0.9638, allocations: 0.6851 MB / 0.9973 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.9641, allocations: 217.5 kB / 0.9975 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.968, allocations: 2.525 MB / 1 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.9681, allocations: 20 kB / 1 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.9681, allocations: 4 kB / 1 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003106/0.9712, allocations: 2.327 MB / 1.002 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/0.9788, allocations: 5.61 MB / 1.008 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.9789, allocations: 4 kB / 1.008 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.9809, allocations: 480.4 kB / 1.008 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.9809, allocations: 12 kB / 1.008 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.9811, allocations: 51.98 kB / 1.008 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.9811, allocations: 18.45 kB / 1.008 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9811, allocations: 8 kB / 1.008 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/0.9863, allocations: 3.786 MB / 1.012 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.987, allocations: 0.5332 MB / 1.013 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.9873, allocations: 54.45 kB / 1.013 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.989, allocations: 247.4 kB / 1.013 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.9893, allocations: 141.8 kB / 1.013 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.9895, allocations: 71.97 kB / 1.013 GB, free: 312 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001124/0.9906, allocations: 0.9929 MB / 1.014 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9906, allocations: 0 / 1.014 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001676/0.9923, allocations: 0.9428 MB / 1.015 GB, free: 14.38 MB / 0.7481 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.005878/0.9982, allocations: 4.634 MB / 1.019 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003192/1.001, allocations: 2.332 MB / 1.022 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.001, allocations: 1.812 kB / 1.022 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.003, allocations: 1.225 MB / 1.023 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.008, allocations: 1.233 MB / 1.024 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.034, allocations: 21.37 MB / 1.045 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.036, allocations: 1.972 MB / 1.047 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002249/1.038, allocations: 0.7366 MB / 1.048 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.039, allocations: 1.089 MB / 1.049 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/1.039, allocations: 0 / 1.049 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.814/1.853, allocations: 63.19 MB / 1.11 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.854, allocations: 264.6 kB / 1.111 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/5.01, allocations: 0 / 1.111 GB, free: 11.93 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)