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.001106/0.001106, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001129/0.001129, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.8709/0.8709, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 63.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1238, allocations: 82.03 MB / 0.5939 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7223/0.8461, allocations: 291.1 MB / 0.8782 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.867, allocations: 22.98 MB / 0.9006 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.8695, allocations: 69.38 kB / 0.9007 GB, free: 1.441 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.8728, allocations: 1.603 MB / 0.9022 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.8842, allocations: 5.76 MB / 0.9079 GB, free: 1.176 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/0.8902, allocations: 2.661 MB / 0.9105 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007964/0.8981, allocations: 7.307 MB / 0.9176 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/0.9017, allocations: 2.874 MB / 0.9204 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005737/0.9074, allocations: 2.92 MB / 0.9232 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.9107, allocations: 2.887 MB / 0.9261 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.911, allocations: 342.5 kB / 0.9264 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00887/0.9199, allocations: 6.216 MB / 0.9325 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.921, allocations: 1.477 MB / 0.9339 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.9227, allocations: 1.907 MB / 0.9358 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008484/0.9312, allocations: 7.502 MB / 0.9431 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9312, allocations: 0 / 0.9431 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9312, allocations: 0 / 0.9431 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.9312, allocations: 4 kB / 0.9431 GB, free: 14.5 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.007876/0.9391, allocations: 4.096 MB / 0.9471 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.9392, allocations: 14.56 kB / 0.9471 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000403/0.9396, allocations: 393.8 kB / 0.9475 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.9444, allocations: 0.8448 MB / 0.9483 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.9467, allocations: 1.789 MB / 0.9501 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.555e-05/0.9468, allocations: 209 kB / 0.9503 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.9472, allocations: 275.8 kB / 0.9505 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/0.9519, allocations: 3.594 MB / 0.954 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.395e-05/0.952, allocations: 9.406 kB / 0.954 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.9522, allocations: 115.7 kB / 0.9542 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.9523, allocations: 152.8 kB / 0.9543 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004583/0.9569, allocations: 3.283 MB / 0.9575 GB, free: 8.605 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.01261/0.9695, allocations: 14.16 MB / 0.9713 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.9729, allocations: 2.48 MB / 0.9737 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.9747, allocations: 1.352 MB / 0.9751 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.9758, allocations: 1.375 MB / 0.9764 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/0.9776, allocations: 1.229 MB / 0.9776 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.657e-06/0.9776, allocations: 0 / 0.9776 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005037/0.9827, allocations: 3.173 MB / 0.9807 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.9827, allocations: 81.41 kB / 0.9808 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.9843, allocations: 1.452 MB / 0.9822 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.9845, allocations: 69.7 kB / 0.9823 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.9852, allocations: 1.114 MB / 0.9834 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.9857, allocations: 0.7321 MB / 0.9841 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005082/0.9863, allocations: 355.5 kB / 0.9844 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.9864, allocations: 305.1 kB / 0.9847 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.9878, allocations: 0.9175 MB / 0.9856 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.9894, allocations: 1.256 MB / 0.9868 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.9925, allocations: 2.32 MB / 0.9891 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9925, allocations: 0 / 0.9891 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003809/0.9963, allocations: 2.602 MB / 0.9916 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.9964, allocations: 37.7 kB / 0.9917 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9964, allocations: 12 kB / 0.9917 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.9964, allocations: 20 kB / 0.9917 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.9983, allocations: 463.7 kB / 0.9921 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.9983, allocations: 21.59 kB / 0.9922 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.001, allocations: 409.6 kB / 0.9926 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.001, allocations: 75.98 kB / 0.9926 GB, free: 4.922 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.0009562/1.002, allocations: 0.6772 MB / 0.9933 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/1.002, allocations: 217.5 kB / 0.9935 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/1.006, allocations: 2.519 MB / 0.996 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.006, allocations: 22.62 kB / 0.996 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.006, allocations: 4 kB / 0.996 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00319/1.009, allocations: 2.327 MB / 0.9983 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/1.017, allocations: 5.615 MB / 1.004 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.017, allocations: 8.062 kB / 1.004 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.019, allocations: 474.7 kB / 1.004 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.019, allocations: 19.98 kB / 1.004 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/1.019, allocations: 51.98 kB / 1.004 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/1.019, allocations: 11.94 kB / 1.004 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.019, allocations: 6.625 kB / 1.004 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/1.024, allocations: 3.79 MB / 1.008 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/1.025, allocations: 0.5371 MB / 1.009 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/1.026, allocations: 44 kB / 1.009 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.027, allocations: 243.4 kB / 1.009 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/1.028, allocations: 148.3 kB / 1.009 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.028, allocations: 71.97 kB / 1.009 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001118/1.029, allocations: 0.9866 MB / 1.01 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.029, allocations: 0 / 1.01 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001765/1.031, allocations: 0.9428 MB / 1.011 GB, free: 2.094 MB / 0.7325 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.005905/1.037, allocations: 4.629 MB / 1.015 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007184/1.044, allocations: 3.884 MB / 1.019 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.044, allocations: 4 kB / 1.019 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.045, allocations: 1.228 MB / 1.02 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.05, allocations: 1.298 MB / 1.022 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/1.078, allocations: 21.37 MB / 1.043 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.079, allocations: 1.971 MB / 1.044 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002525/1.082, allocations: 0.7249 MB / 1.045 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.083, allocations: 1.097 MB / 1.046 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of SimCode: time 8.72e-07/1.083, allocations: 0 / 1.046 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7605/1.843, allocations: 64.79 MB / 1.11 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.844, allocations: 257 kB / 1.11 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/5.009, allocations: 0 / 1.11 GB, free: 12.54 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)