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.0008279/0.000828, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004899/0.004899, allocations: 171 kB / 16.26 MB, free: 6.613 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8702/0.8702, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 83.42 MB / 0.598 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7237/0.8499, allocations: 288.3 MB / 0.8795 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.8707, allocations: 23.04 MB / 0.902 GB, free: 1.762 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.8728, allocations: 64.94 kB / 0.9021 GB, free: 1.762 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.8759, allocations: 1.555 MB / 0.9036 GB, free: 1.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.8874, allocations: 5.772 MB / 0.9092 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.893, allocations: 2.644 MB / 0.9118 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.9033, allocations: 10.72 MB / 0.9223 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.9066, allocations: 2.43 MB / 0.9247 GB, free: 16.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005431/0.912, allocations: 2.432 MB / 0.927 GB, free: 16.97 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.9154, allocations: 2.706 MB / 0.9297 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.9157, allocations: 166.1 kB / 0.9298 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009533/0.9253, allocations: 6.876 MB / 0.9366 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.9263, allocations: 1.275 MB / 0.9378 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.928, allocations: 1.707 MB / 0.9395 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008163/0.9361, allocations: 7.288 MB / 0.9466 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9361, allocations: 0 / 0.9466 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9361, allocations: 3.312 kB / 0.9466 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.9362, allocations: 4 kB / 0.9466 GB, free: 13.09 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.007218/0.9434, allocations: 3.481 MB / 0.95 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.9435, allocations: 13.7 kB / 0.95 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003803/0.9438, allocations: 389.7 kB / 0.9504 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.9485, allocations: 0.8494 MB / 0.9512 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.9508, allocations: 1.79 MB / 0.953 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.9509, allocations: 206.9 kB / 0.9532 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.9512, allocations: 280 kB / 0.9534 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/0.9558, allocations: 3.602 MB / 0.9569 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/0.9559, allocations: 13.75 kB / 0.957 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.9561, allocations: 109.6 kB / 0.9571 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.9562, allocations: 152.8 kB / 0.9572 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004429/0.9607, allocations: 3.294 MB / 0.9604 GB, free: 8.062 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.01174/0.9724, allocations: 14.17 MB / 0.9743 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.9756, allocations: 2.502 MB / 0.9767 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.9773, allocations: 1.358 MB / 0.978 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.9783, allocations: 1.382 MB / 0.9794 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.98, allocations: 1.23 MB / 0.9806 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.496e-06/0.98, allocations: 0 / 0.9806 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.004777/0.9848, allocations: 3.19 MB / 0.9837 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.9849, allocations: 74.53 kB / 0.9838 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.9864, allocations: 1.453 MB / 0.9852 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.9865, allocations: 69.7 kB / 0.9853 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/0.9872, allocations: 1.115 MB / 0.9863 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.9878, allocations: 0.735 MB / 0.9871 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.988, allocations: 169.6 kB / 0.9872 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.9881, allocations: 305.1 kB / 0.9875 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.9895, allocations: 0.9175 MB / 0.9884 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.9911, allocations: 1.264 MB / 0.9896 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.9942, allocations: 2.332 MB / 0.9919 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9942, allocations: 0 / 0.9919 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003702/0.9979, allocations: 2.613 MB / 0.9945 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.998, allocations: 39.14 kB / 0.9945 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.998, allocations: 10.19 kB / 0.9945 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.998, allocations: 19.94 kB / 0.9945 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.9998, allocations: 477.2 kB / 0.995 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.9998, allocations: 25.06 kB / 0.995 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.002, allocations: 397.8 kB / 0.9954 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/1.002, allocations: 83.98 kB / 0.9955 GB, free: 9.371 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.0009052/1.003, allocations: 0.6709 MB / 0.9961 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/1.003, allocations: 216.1 kB / 0.9963 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/1.007, allocations: 2.531 MB / 0.9988 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.007, allocations: 23.94 kB / 0.9988 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.007, allocations: 4 kB / 0.9988 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003104/1.011, allocations: 2.349 MB / 1.001 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/1.018, allocations: 5.618 MB / 1.007 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.018, allocations: 4 kB / 1.007 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/1.02, allocations: 495.1 kB / 1.007 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.02, allocations: 8 kB / 1.007 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.02, allocations: 55.98 kB / 1.007 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/1.02, allocations: 16 kB / 1.007 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.02, allocations: 6.375 kB / 1.007 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005036/1.025, allocations: 3.811 MB / 1.011 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/1.026, allocations: 0.541 MB / 1.011 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/1.027, allocations: 44 kB / 1.011 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.028, allocations: 248.2 kB / 1.012 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.029, allocations: 148.2 kB / 1.012 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.029, allocations: 71.97 kB / 1.012 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001122/1.03, allocations: 0.9906 MB / 1.013 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.03, allocations: 0 / 1.013 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001724/1.032, allocations: 0.9351 MB / 1.014 GB, free: 6.484 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.005765/1.037, allocations: 4.661 MB / 1.018 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003286/1.041, allocations: 2.341 MB / 1.021 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.041, allocations: 4.062 kB / 1.021 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.042, allocations: 1.228 MB / 1.022 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005487/1.048, allocations: 1.236 MB / 1.023 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.075, allocations: 21.66 MB / 1.044 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.076, allocations: 1.964 MB / 1.046 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002455/1.079, allocations: 0.729 MB / 1.047 GB, free: 3.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.08, allocations: 1.093 MB / 1.048 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of SimCode: time 4.61e-07/1.08, allocations: 4 kB / 1.048 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.404/10.48, allocations: 62.64 MB / 1.109 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/10.48, allocations: 248.5 kB / 1.109 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.097/15.58, allocations: 0 / 1.109 GB, free: 4.289 MB / 0.8262 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)