Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.878/0.878, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5578/0.5578, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.95e-05, allocations: 7.906 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.399/0.3991, allocations: 153.4 MB / 0.7039 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.402, allocations: 2.284 MB / 0.7062 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.4024, allocations: 18.94 kB / 0.7062 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.403, allocations: 224.8 kB / 0.7064 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.4047, allocations: 1.003 MB / 0.7074 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4062, allocations: 0.8792 MB / 0.7082 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.4072, allocations: 0.9574 MB / 0.7092 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.4075, allocations: 261.2 kB / 0.7094 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008687/0.4084, allocations: 0.7356 MB / 0.7101 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.4086, allocations: 276.1 kB / 0.7104 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.4087, allocations: 35.62 kB / 0.7104 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.4099, allocations: 0.8557 MB / 0.7113 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.41, allocations: 170.1 kB / 0.7114 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4101, allocations: 162.1 kB / 0.7116 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.4112, allocations: 0.9606 MB / 0.7125 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4112, allocations: 0.9375 kB / 0.7125 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4112, allocations: 0 / 0.7125 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.4112, allocations: 0.875 kB / 0.7125 GB, free: 41.17 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009019/0.4121, allocations: 0.75 MB / 0.7133 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4121, allocations: 11.25 kB / 0.7133 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.4122, allocations: 71.88 kB / 0.7133 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.4131, allocations: 228.4 kB / 0.7136 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.4136, allocations: 330.9 kB / 0.7139 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4136, allocations: 28.61 kB / 0.7139 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.4137, allocations: 29.84 kB / 0.7139 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.4141, allocations: 457.8 kB / 0.7144 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4142, allocations: 2.625 kB / 0.7144 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.4142, allocations: 10.53 kB / 0.7144 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.4142, allocations: 11.44 kB / 0.7144 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.4146, allocations: 311.4 kB / 0.7147 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.4158, allocations: 1.36 MB / 0.716 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.4162, allocations: 269.5 kB / 0.7163 GB, free: 39.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.4164, allocations: 137.5 kB / 0.7164 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.4167, allocations: 71.53 kB / 0.7165 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4167, allocations: 36.58 kB / 0.7165 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.4167, allocations: 2.938 kB / 0.7165 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0007527/0.4175, allocations: 431.4 kB / 0.7169 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.4175, allocations: 57.53 kB / 0.717 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.4178, allocations: 424.2 kB / 0.7174 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4178, allocations: 33.3 kB / 0.7174 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.418, allocations: 209.1 kB / 0.7176 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.418, allocations: 83.05 kB / 0.7177 GB, free: 38.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.4181, allocations: 54.8 kB / 0.7177 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.4181, allocations: 353.2 kB / 0.7181 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.4183, allocations: 106.5 kB / 0.7182 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.4185, allocations: 204.3 kB / 0.7184 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.4188, allocations: 253.5 kB / 0.7186 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4188, allocations: 0 / 0.7186 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004394/0.4193, allocations: 337.4 kB / 0.7189 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4193, allocations: 10.45 kB / 0.7189 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4193, allocations: 2.156 kB / 0.7189 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4193, allocations: 2.312 kB / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.4195, allocations: 56.98 kB / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4195, allocations: 3.312 kB / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.4197, allocations: 44.66 kB / 0.7191 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4197, allocations: 15.28 kB / 0.7191 GB, free: 38.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0001237/0.4199, allocations: 168.5 kB / 0.7192 GB, free: 38.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4199, allocations: 44.59 kB / 0.7193 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.4204, allocations: 337.4 kB / 0.7196 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4204, allocations: 3.5 kB / 0.7196 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4204, allocations: 3.391 kB / 0.7196 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4204, allocations: 3.938 kB / 0.7196 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008796/0.4213, allocations: 0.8157 MB / 0.7204 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4213, allocations: 2.625 kB / 0.7204 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4214, allocations: 58.38 kB / 0.7205 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4214, allocations: 2.625 kB / 0.7205 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4215, allocations: 9.688 kB / 0.7205 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4215, allocations: 9.141 kB / 0.7205 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4215, allocations: 2.625 kB / 0.7205 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.4221, allocations: 0.5889 MB / 0.7211 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4222, allocations: 72.81 kB / 0.7211 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.4222, allocations: 9.281 kB / 0.7211 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.4224, allocations: 21.75 kB / 0.7212 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4224, allocations: 21.5 kB / 0.7212 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.4225, allocations: 11.47 kB / 0.7212 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00019/0.4227, allocations: 299.7 kB / 0.7215 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4227, allocations: 3.969 kB / 0.7215 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003232/0.423, allocations: 110.7 kB / 0.7216 GB, free: 37.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008724/0.4239, allocations: 1.183 MB / 0.7227 GB, free: 36.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.4243, allocations: 257.6 kB / 0.723 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4243, allocations: 2.594 kB / 0.723 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.4244, allocations: 134.1 kB / 0.7231 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.4251, allocations: 215.6 kB / 0.7233 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.4291, allocations: 3.794 MB / 0.727 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.4293, allocations: 221.1 kB / 0.7272 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.4296, allocations: 89.31 kB / 0.7273 GB, free: 35.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.4297, allocations: 137.9 kB / 0.7274 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.553e-06/0.4297, allocations: 1.062 kB / 0.7275 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4631, allocations: 13.94 MB / 0.7411 GB, free: 33.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.811, allocations: 11.72 kB / 0.7411 GB, free: 33.28 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.497063472867012] Failed to read output from testmodel.py, exit status != 0: 7.898238258436322 7.912314448 7.499004988 Calling exit ...