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.001289/0.001289, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001515/0.001515, allocations: 221.5 kB / 23.01 MB, free: 5.043 MB / 14.72 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 1.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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.9928/0.9928, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 66.69 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 89.17 MB / 0.7283 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5741/0.7571, allocations: 177.6 MB / 0.9017 GB, free: 5.711 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.7614, allocations: 2.477 MB / 0.9042 GB, free: 3.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.7618, allocations: 19.88 kB / 0.9042 GB, free: 3.211 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.7626, allocations: 238.3 kB / 0.9044 GB, free: 2.977 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.7648, allocations: 1.011 MB / 0.9054 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.7669, allocations: 0.867 MB / 0.9062 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.7682, allocations: 0.9818 MB / 0.9072 GB, free: 116 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.7687, allocations: 275.5 kB / 0.9075 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.7699, allocations: 0.6189 MB / 0.9081 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.7704, allocations: 326.7 kB / 0.9084 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.7704, allocations: 36 kB / 0.9084 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.7724, allocations: 1.107 MB / 0.9095 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.7726, allocations: 159.5 kB / 0.9096 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.7728, allocations: 234.8 kB / 0.9099 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.7743, allocations: 0.9597 MB / 0.9108 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7743, allocations: 0 / 0.9108 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7743, allocations: 0 / 0.9108 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7743, allocations: 0 / 0.9108 GB, free: 12.41 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001301/0.7756, allocations: 0.7571 MB / 0.9115 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7757, allocations: 12.03 kB / 0.9115 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.7757, allocations: 62.53 kB / 0.9116 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.7774, allocations: 235.4 kB / 0.9118 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.778, allocations: 331.8 kB / 0.9121 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.7781, allocations: 28.66 kB / 0.9122 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.7781, allocations: 31.94 kB / 0.9122 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.7789, allocations: 397 kB / 0.9126 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7789, allocations: 7.938 kB / 0.9126 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.7789, allocations: 15.94 kB / 0.9126 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.779, allocations: 8 kB / 0.9126 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.7797, allocations: 309.7 kB / 0.9129 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.7818, allocations: 1.685 MB / 0.9146 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.7825, allocations: 272.2 kB / 0.9148 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.7828, allocations: 137.3 kB / 0.9149 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.7833, allocations: 67.92 kB / 0.915 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.7833, allocations: 42.5 kB / 0.9151 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 3.507e-06/0.7833, allocations: 3.984 kB / 0.9151 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.001243/0.7846, allocations: 425.1 kB / 0.9155 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7846, allocations: 59.41 kB / 0.9155 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.7851, allocations: 425.9 kB / 0.9159 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.7851, allocations: 29.7 kB / 0.916 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.7853, allocations: 220.5 kB / 0.9162 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.7854, allocations: 79.28 kB / 0.9162 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7855, allocations: 49.7 kB / 0.9163 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7857, allocations: 354.7 kB / 0.9166 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.786, allocations: 111.9 kB / 0.9167 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.7863, allocations: 160.8 kB / 0.9169 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.7869, allocations: 249.7 kB / 0.9171 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7869, allocations: 0 / 0.9171 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007819/0.7877, allocations: 341.1 kB / 0.9174 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7877, allocations: 8.031 kB / 0.9175 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7877, allocations: 2.625 kB / 0.9175 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.7878, allocations: 4 kB / 0.9175 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.7881, allocations: 59.89 kB / 0.9175 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.7881, allocations: 3.938 kB / 0.9175 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.7884, allocations: 39.77 kB / 0.9176 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.7885, allocations: 15.98 kB / 0.9176 GB, free: 5.145 MB / 0.6856 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.0001944/0.7886, allocations: 163.7 kB / 0.9177 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.7887, allocations: 47.72 kB / 0.9178 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.7896, allocations: 336.2 kB / 0.9181 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7896, allocations: 4 kB / 0.9181 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7896, allocations: 3.938 kB / 0.9181 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7896, allocations: 3.984 kB / 0.9181 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.7912, allocations: 0.8693 MB / 0.919 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7912, allocations: 0.875 kB / 0.919 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.7916, allocations: 60 kB / 0.919 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.7916, allocations: 7.938 kB / 0.919 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.7916, allocations: 4 kB / 0.919 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7916, allocations: 3.984 kB / 0.919 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7916, allocations: 4 kB / 0.919 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7928, allocations: 0.5954 MB / 0.9196 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.7929, allocations: 79.72 kB / 0.9197 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.793, allocations: 0 / 0.9197 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.7933, allocations: 23.97 kB / 0.9197 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.7934, allocations: 27.81 kB / 0.9197 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.7934, allocations: 12 kB / 0.9198 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003427/0.7938, allocations: 303.1 kB / 0.92 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7938, allocations: 3.938 kB / 0.92 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004653/0.7942, allocations: 115.8 kB / 0.9202 GB, free: 2.387 MB / 0.6856 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.001676/0.7959, allocations: 1.188 MB / 0.9213 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007343/0.7966, allocations: 260.4 kB / 0.9216 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7966, allocations: 0 / 0.9216 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.797, allocations: 131.8 kB / 0.9217 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7981, allocations: 227.9 kB / 0.9219 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.8041, allocations: 3.875 MB / 0.9257 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.8046, allocations: 0.8272 MB / 0.9265 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.8049, allocations: 87.36 kB / 0.9266 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.8051, allocations: 143.4 kB / 0.9267 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/0.8051, allocations: 0 / 0.9267 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.8497, allocations: 12.72 MB / 0.9391 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.67, allocations: 9.734 kB / 0.9392 GB, free: 15.04 MB / 0.7169 GB " [Timeout remaining time 647] (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: 16.669191165001394] Failed to read output from testmodel.py, exit status != 0: 12.783433710999816 12.809947925 12.030223886 Calling exit ...