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.0009658/0.0009657, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9167/0.9167, allocations: 143 MB / 433.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 82.03 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7834/0.9107, allocations: 294.6 MB / 0.8821 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.9345, allocations: 23.1 MB / 0.9046 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.9377, allocations: 79.19 kB / 0.9047 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.9427, allocations: 1.795 MB / 0.9065 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.9567, allocations: 6.126 MB / 0.9125 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.9635, allocations: 2.874 MB / 0.9153 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00848/0.972, allocations: 7.301 MB / 0.9224 GB, free: 1.082 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/0.9768, allocations: 2.983 MB / 0.9253 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005999/0.9828, allocations: 2.862 MB / 0.9281 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.9872, allocations: 2.714 MB / 0.9308 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001/0.9882, allocations: 340.9 kB / 0.9311 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.9995, allocations: 5.988 MB / 0.9369 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002014/1.002, allocations: 1.462 MB / 0.9384 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003886/1.005, allocations: 1.907 MB / 0.9402 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.019, allocations: 7.097 MB / 0.9471 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.019, allocations: 0 / 0.9471 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/1.019, allocations: 0 / 0.9471 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001522/1.019, allocations: 0 / 0.9471 GB, free: 13.56 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.01022/1.029, allocations: 4.097 MB / 0.9511 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.029, allocations: 10.78 kB / 0.9512 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004414/1.03, allocations: 392.8 kB / 0.9515 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/1.035, allocations: 0.8467 MB / 0.9524 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/1.038, allocations: 1.793 MB / 0.9541 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.038, allocations: 213.9 kB / 0.9543 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/1.038, allocations: 271 kB / 0.9546 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/1.043, allocations: 3.601 MB / 0.9581 GB, free: 9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/1.043, allocations: 9.375 kB / 0.9581 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/1.044, allocations: 112.6 kB / 0.9582 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/1.044, allocations: 147.1 kB / 0.9583 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005333/1.049, allocations: 3.293 MB / 0.9616 GB, free: 6.844 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.01517/1.064, allocations: 14.3 MB / 0.9755 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.068, allocations: 2.487 MB / 0.978 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/1.07, allocations: 1.356 MB / 0.9793 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/1.071, allocations: 1.378 MB / 0.9806 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/1.073, allocations: 1.229 MB / 0.9818 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.958e-06/1.073, allocations: 0 / 0.9818 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005532/1.079, allocations: 3.17 MB / 0.9849 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.079, allocations: 73.41 kB / 0.985 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/1.08, allocations: 1.463 MB / 0.9864 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/1.081, allocations: 61.7 kB / 0.9865 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008463/1.081, allocations: 1.118 MB / 0.9876 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006048/1.082, allocations: 0.727 MB / 0.9883 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/1.083, allocations: 363.5 kB / 0.9886 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/1.083, allocations: 305.1 kB / 0.9889 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/1.084, allocations: 0.9097 MB / 0.9898 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/1.086, allocations: 1.257 MB / 0.991 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.09, allocations: 2.316 MB / 0.9933 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.09, allocations: 4 kB / 0.9933 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004216/1.094, allocations: 2.602 MB / 0.9958 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/1.094, allocations: 41.62 kB / 0.9959 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.094, allocations: 11.94 kB / 0.9959 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.094, allocations: 16 kB / 0.9959 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.096, allocations: 463.8 kB / 0.9963 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/1.096, allocations: 27.64 kB / 0.9964 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.098, allocations: 190.1 kB / 0.9966 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.098, allocations: 78.61 kB / 0.9966 GB, free: 2.176 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.001111/1.099, allocations: 0.6793 MB / 0.9973 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/1.099, allocations: 217.4 kB / 0.9975 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/1.104, allocations: 2.528 MB / 1 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.104, allocations: 20 kB / 1 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.104, allocations: 3.938 kB / 1 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003372/1.107, allocations: 2.338 MB / 1.002 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008024/1.115, allocations: 5.6 MB / 1.008 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.115, allocations: 4 kB / 1.008 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.117, allocations: 480.5 kB / 1.008 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.117, allocations: 8 kB / 1.008 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.117, allocations: 59.92 kB / 1.008 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.117, allocations: 10.44 kB / 1.008 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.117, allocations: 8 kB / 1.008 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.123, allocations: 3.798 MB / 1.012 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/1.124, allocations: 0.5371 MB / 1.013 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.124, allocations: 51.94 kB / 1.013 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.125, allocations: 67.14 kB / 1.013 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/1.126, allocations: 144.3 kB / 1.013 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.126, allocations: 71.97 kB / 1.013 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001191/1.127, allocations: 0.9906 MB / 1.014 GB, free: 472 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.127, allocations: 0 / 1.014 GB, free: 472 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001877/1.129, allocations: 0.9397 MB / 1.015 GB, free: 15.52 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.006195/1.135, allocations: 4.629 MB / 1.019 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007714/1.143, allocations: 3.885 MB / 1.023 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.143, allocations: 0 / 1.023 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.145, allocations: 1.22 MB / 1.024 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/1.15, allocations: 1.299 MB / 1.026 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.176, allocations: 20.25 MB / 1.045 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.177, allocations: 1.974 MB / 1.047 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002538/1.18, allocations: 0.7248 MB / 1.048 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.181, allocations: 1.101 MB / 1.049 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/1.181, allocations: 0 / 1.049 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09449/1.276, allocations: 65.26 MB / 1.113 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.19, allocations: 6.859 kB / 1.113 GB, free: 10.81 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)