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.0009045/0.0009049, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009972/0.0009974, allocations: 180.8 kB / 16.92 MB, free: 6.781 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8896/0.8896, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.84/0.986, allocations: 288 MB / 0.8413 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02581/1.012, allocations: 22.99 MB / 0.8638 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/1.015, allocations: 67.34 kB / 0.8639 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003978/1.019, allocations: 1.556 MB / 0.8654 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01372/1.033, allocations: 5.774 MB / 0.871 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007001/1.04, allocations: 2.628 MB / 0.8736 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.05, allocations: 10.73 MB / 0.8841 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/1.054, allocations: 2.432 MB / 0.8864 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006435/1.06, allocations: 2.434 MB / 0.8888 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004806/1.065, allocations: 2.705 MB / 0.8915 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008107/1.066, allocations: 170.7 kB / 0.8916 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/1.078, allocations: 6.871 MB / 0.8983 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/1.08, allocations: 1.277 MB / 0.8996 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003177/1.083, allocations: 1.704 MB / 0.9012 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.095, allocations: 7.081 MB / 0.9082 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.095, allocations: 0 / 0.9082 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/1.095, allocations: 0 / 0.9082 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.168e-05/1.095, allocations: 0 / 0.9082 GB, free: 13.76 MB / 0.6544 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.007755/1.103, allocations: 3.49 MB / 0.9116 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.103, allocations: 13.62 kB / 0.9116 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004539/1.103, allocations: 394.7 kB / 0.912 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/1.108, allocations: 0.8426 MB / 0.9128 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/1.111, allocations: 1.784 MB / 0.9145 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.111, allocations: 211 kB / 0.9147 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/1.112, allocations: 274.1 kB / 0.915 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/1.117, allocations: 3.603 MB / 0.9185 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/1.117, allocations: 9.062 kB / 0.9185 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/1.117, allocations: 118.1 kB / 0.9186 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.117, allocations: 147.9 kB / 0.9188 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/1.122, allocations: 3.299 MB / 0.922 GB, free: 8.727 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.01351/1.135, allocations: 14.17 MB / 0.9358 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/1.139, allocations: 2.496 MB / 0.9383 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.14, allocations: 1.359 MB / 0.9396 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/1.142, allocations: 1.382 MB / 0.9409 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/1.143, allocations: 1.224 MB / 0.9421 GB, free: 10.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 3.887e-06/1.143, allocations: 4 kB / 0.9421 GB, free: 10.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.005205/1.149, allocations: 3.188 MB / 0.9452 GB, free: 7.906 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/1.149, allocations: 73.41 kB / 0.9453 GB, free: 7.824 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.15, allocations: 1.455 MB / 0.9467 GB, free: 6.73 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.151, allocations: 64.14 kB / 0.9468 GB, free: 6.691 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008215/1.151, allocations: 1.118 MB / 0.9479 GB, free: 5.566 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006064/1.152, allocations: 0.7359 MB / 0.9486 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.152, allocations: 165.7 kB / 0.9488 GB, free: 4.668 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/1.152, allocations: 309 kB / 0.9491 GB, free: 4.363 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.154, allocations: 0.9279 MB / 0.95 GB, free: 3.434 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.156, allocations: 1.256 MB / 0.9512 GB, free: 2.059 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/1.159, allocations: 2.34 MB / 0.9535 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.159, allocations: 4 kB / 0.9535 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004021/1.163, allocations: 2.603 MB / 0.956 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.163, allocations: 33.7 kB / 0.9561 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.163, allocations: 16.16 kB / 0.9561 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.163, allocations: 19.98 kB / 0.9561 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.165, allocations: 475.7 kB / 0.9565 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/1.165, allocations: 26.61 kB / 0.9566 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/1.168, allocations: 393.8 kB / 0.9569 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.168, allocations: 80 kB / 0.957 GB, free: 12.06 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.00118/1.169, allocations: 0.6903 MB / 0.9577 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.169, allocations: 213.5 kB / 0.9579 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.173, allocations: 2.537 MB / 0.9604 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.173, allocations: 24 kB / 0.9604 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.173, allocations: 0 / 0.9604 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003264/1.177, allocations: 2.343 MB / 0.9627 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008388/1.185, allocations: 5.624 MB / 0.9682 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.185, allocations: 0 / 0.9682 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.187, allocations: 488.4 kB / 0.9686 GB, free: 88 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.187, allocations: 8 kB / 0.9687 GB, free: 80 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.187, allocations: 55.98 kB / 0.9687 GB, free: 24 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/1.187, allocations: 14.62 kB / 0.9687 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.187, allocations: 11.98 kB / 0.9687 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/1.193, allocations: 3.81 MB / 0.9725 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.194, allocations: 0.5449 MB / 0.973 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.194, allocations: 43.98 kB / 0.973 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.196, allocations: 239.5 kB / 0.9733 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/1.196, allocations: 152.2 kB / 0.9734 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.196, allocations: 71.97 kB / 0.9735 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001224/1.198, allocations: 0.9866 MB / 0.9744 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.6e-07/1.198, allocations: 4 kB / 0.9744 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001955/1.2, allocations: 0.9389 MB / 0.9754 GB, free: 9.164 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.00607/1.206, allocations: 4.637 MB / 0.9799 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003465/1.209, allocations: 2.337 MB / 0.9822 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.209, allocations: 0 / 0.9822 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.211, allocations: 1.233 MB / 0.9834 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005906/1.217, allocations: 1.244 MB / 0.9846 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.248, allocations: 21.66 MB / 1.006 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.25, allocations: 1.97 MB / 1.008 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002545/1.252, allocations: 0.7212 MB / 1.008 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.254, allocations: 1.101 MB / 1.009 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/1.254, allocations: 0 / 1.009 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.399, allocations: 62.44 MB / 1.07 GB, free: 7.398 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/1.399, allocations: 245.8 kB / 1.071 GB, free: 7.141 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.259/4.659, allocations: 4 kB / 1.071 GB, free: 7.137 MB / 0.795 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)