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.00182/0.00182, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00202/0.00202, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9232/0.9232, allocations: 150 MB / 459.5 MB, free: 5.363 MB / 350.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.002609/0.002609, allocations: 70.14 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1811, allocations: 89.13 MB / 0.7231 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5812/0.7623, allocations: 177.3 MB / 0.8963 GB, free: 2.777 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.7664, allocations: 2.458 MB / 0.8987 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.7669, allocations: 18.38 kB / 0.8987 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.7675, allocations: 238.7 kB / 0.899 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.7696, allocations: 1.011 MB / 0.8999 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.7716, allocations: 0.831 MB / 0.9008 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.7727, allocations: 0.9719 MB / 0.9017 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.7731, allocations: 283.8 kB / 0.902 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009585/0.774, allocations: 0.6087 MB / 0.9026 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.7744, allocations: 334.8 kB / 0.9029 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.7745, allocations: 32.94 kB / 0.9029 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.7761, allocations: 1.083 MB / 0.904 GB, free: 2.555 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.7762, allocations: 159.6 kB / 0.9041 GB, free: 2.551 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.7765, allocations: 242.6 kB / 0.9044 GB, free: 2.551 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.7779, allocations: 0.9465 MB / 0.9053 GB, free: 2.492 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7779, allocations: 1.375 kB / 0.9053 GB, free: 2.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7779, allocations: 0 / 0.9053 GB, free: 2.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7779, allocations: 0 / 0.9053 GB, free: 2.492 MB / 0.67 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.001327/0.7792, allocations: 0.8398 MB / 0.9061 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7792, allocations: 8.469 kB / 0.9061 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.339e-05/0.7793, allocations: 70.33 kB / 0.9062 GB, free: 17.87 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7809, allocations: 235.2 kB / 0.9064 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.7815, allocations: 397.9 kB / 0.9068 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.7815, allocations: 25.84 kB / 0.9068 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.7815, allocations: 28.69 kB / 0.9068 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.7822, allocations: 401.6 kB / 0.9072 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7822, allocations: 0 / 0.9072 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.7822, allocations: 19.75 kB / 0.9072 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.7822, allocations: 10.69 kB / 0.9073 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.7829, allocations: 310.9 kB / 0.9075 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.7846, allocations: 1.728 MB / 0.9092 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.7852, allocations: 275.2 kB / 0.9095 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.7855, allocations: 132.8 kB / 0.9096 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.7861, allocations: 305.6 kB / 0.9099 GB, free: 16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.7861, allocations: 37.72 kB / 0.91 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.7861, allocations: 0 / 0.91 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.001132/0.7872, allocations: 432.1 kB / 0.9104 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.7873, allocations: 57.16 kB / 0.9104 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.7876, allocations: 422.1 kB / 0.9108 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.7877, allocations: 31.77 kB / 0.9109 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.7878, allocations: 213.6 kB / 0.9111 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.7879, allocations: 91.58 kB / 0.9111 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.7879, allocations: 47.72 kB / 0.9112 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7881, allocations: 355.4 kB / 0.9115 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.7884, allocations: 107.3 kB / 0.9116 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.7886, allocations: 152.5 kB / 0.9118 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.7892, allocations: 260.6 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7892, allocations: 2.188 kB / 0.912 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006712/0.7898, allocations: 341.2 kB / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7898, allocations: 5.656 kB / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7899, allocations: 0 / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7899, allocations: 2.875 kB / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.7902, allocations: 59.2 kB / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7902, allocations: 3.938 kB / 0.9124 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.7905, allocations: 49.16 kB / 0.9125 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.7905, allocations: 7.875 kB / 0.9125 GB, free: 15.04 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.0001646/0.7907, allocations: 163.8 kB / 0.9126 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.7907, allocations: 41.39 kB / 0.9127 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.7915, allocations: 344.6 kB / 0.913 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.7915, allocations: 8.281 kB / 0.913 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7915, allocations: 3.938 kB / 0.913 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7915, allocations: 0 / 0.913 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.7928, allocations: 0.8929 MB / 0.9139 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7928, allocations: 1.203 kB / 0.9139 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.7931, allocations: 55.14 kB / 0.9139 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7931, allocations: 6.031 kB / 0.9139 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.7931, allocations: 11.09 kB / 0.914 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.7931, allocations: 3.188 kB / 0.914 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7931, allocations: 0 / 0.914 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.7941, allocations: 0.5978 MB / 0.9145 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.7943, allocations: 153.2 kB / 0.9147 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.7943, allocations: 10.09 kB / 0.9147 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.7947, allocations: 19.2 kB / 0.9147 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.7947, allocations: 27.33 kB / 0.9147 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.7947, allocations: 17.77 kB / 0.9148 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002772/0.795, allocations: 302.5 kB / 0.915 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.795, allocations: 0 / 0.915 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004467/0.7955, allocations: 114.5 kB / 0.9152 GB, free: 14.03 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.001453/0.7969, allocations: 1.175 MB / 0.9163 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006357/0.7976, allocations: 258.6 kB / 0.9165 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7976, allocations: 0 / 0.9165 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.7979, allocations: 136 kB / 0.9167 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7989, allocations: 233.8 kB / 0.9169 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.8038, allocations: 3.88 MB / 0.9207 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.8042, allocations: 0.8298 MB / 0.9215 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002975/0.8045, allocations: 85.45 kB / 0.9216 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.8047, allocations: 139.6 kB / 0.9217 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of SimCode: time 7.11e-07/0.8047, allocations: 0 / 0.9217 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.8424, allocations: 12.49 MB / 0.9339 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.353, allocations: 2.625 kB / 0.9339 GB, free: 7.68 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.080156951909885] Failed to read output from testmodel.py, exit status != 0: 9.430798745015636 9.450347617 8.668613764 Calling exit ...