Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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.001744/0.001744, allocations: 113.1 kB / 17.12 MB, free: 6.008 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.002163/0.002163, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9522/0.9522, allocations: 150 MB / 459.5 MB, free: 5.387 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.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",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.001945/0.001945, allocations: 70.09 kB / 0.6361 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1561, allocations: 89.14 MB / 0.7232 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5967/0.7528, allocations: 196.3 MB / 0.9149 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005883/0.7587, allocations: 4.221 MB / 0.919 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.76, allocations: 29.34 kB / 0.919 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.7614, allocations: 491 kB / 0.9195 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.7655, allocations: 1.654 MB / 0.9211 GB, free: 2.262 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.7688, allocations: 1.376 MB / 0.9224 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.7712, allocations: 1.665 MB / 0.9241 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.7722, allocations: 0.8741 MB / 0.9249 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.7744, allocations: 1.12 MB / 0.926 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.7756, allocations: 0.9425 MB / 0.9269 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.7758, allocations: 104.4 kB / 0.927 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.7784, allocations: 1.43 MB / 0.9284 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.7788, allocations: 371.2 kB / 0.9288 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006161/0.7794, allocations: 0.5394 MB / 0.9293 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.7823, allocations: 1.721 MB / 0.931 GB, free: 1.617 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7823, allocations: 0 / 0.931 GB, free: 1.617 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7823, allocations: 2.625 kB / 0.931 GB, free: 1.617 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.7823, allocations: 4 kB / 0.931 GB, free: 1.613 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002843/0.7851, allocations: 1.288 MB / 0.9323 GB, free: 16.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7852, allocations: 10.12 kB / 0.9323 GB, free: 16.86 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.7853, allocations: 89.5 kB / 0.9324 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.7884, allocations: 433.4 kB / 0.9328 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.7895, allocations: 0.6395 MB / 0.9334 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.7895, allocations: 41.58 kB / 0.9334 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.7897, allocations: 50.69 kB / 0.9335 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.7915, allocations: 1.13 MB / 0.9346 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.7916, allocations: 12.98 kB / 0.9346 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/0.7917, allocations: 24.95 kB / 0.9346 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.7917, allocations: 28.22 kB / 0.9346 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.7939, allocations: 1.205 MB / 0.9358 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.7999, allocations: 4.392 MB / 0.9401 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.8021, allocations: 0.8435 MB / 0.9409 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.8032, allocations: 0.5875 MB / 0.9415 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.8038, allocations: 317.2 kB / 0.9418 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.8039, allocations: 39.72 kB / 0.9418 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002297/0.8062, allocations: 0.6279 MB / 0.9425 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 6.202e-06/0.8062, allocations: 3.984 kB / 0.9425 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01979/0.826, allocations: 4.126 MB / 0.9465 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.826, allocations: 56.59 kB / 0.9465 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.8273, allocations: 0.7178 MB / 0.9472 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.8275, allocations: 37.11 kB / 0.9473 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.8278, allocations: 330.4 kB / 0.9476 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.8282, allocations: 187.5 kB / 0.9478 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/0.8286, allocations: 155.6 kB / 0.9479 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8288, allocations: 326.7 kB / 0.9482 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.83, allocations: 0.4908 MB / 0.9487 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.8312, allocations: 0.579 MB / 0.9493 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.8336, allocations: 1.093 MB / 0.9504 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.8336, allocations: 0 / 0.9504 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01263/0.8462, allocations: 2.767 MB / 0.9531 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.8463, allocations: 7 kB / 0.9531 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8463, allocations: 2.531 kB / 0.9531 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/0.8559, allocations: 1.726 MB / 0.9547 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.8568, allocations: 130.9 kB / 0.9549 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.8702, allocations: 7.138 MB / 0.9618 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.8714, allocations: 47.14 kB / 0.9619 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.8716, allocations: 51.78 kB / 0.9619 GB, free: 480 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006007/0.8723, allocations: 207.3 kB / 0.9621 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.8726, allocations: 84.42 kB / 0.9622 GB, free: 264 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006306/0.8789, allocations: 1.918 MB / 0.9641 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.8789, allocations: 6.719 kB / 0.9641 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.879, allocations: 3.312 kB / 0.9641 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.879, allocations: 3.984 kB / 0.9641 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007937/0.8869, allocations: 2.864 MB / 0.9669 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.8869, allocations: 0 / 0.9669 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.8877, allocations: 117 kB / 0.967 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/0.8913, allocations: 0.7997 MB / 0.9678 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.8914, allocations: 19.98 kB / 0.9678 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00751/0.8989, allocations: 4.856 MB / 0.9726 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8989, allocations: 4 kB / 0.9726 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00716/0.9061, allocations: 2.462 MB / 0.975 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.9067, allocations: 252.4 kB / 0.9752 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.9069, allocations: 12 kB / 0.9752 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.9079, allocations: 51.88 kB / 0.9753 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.9081, allocations: 58.83 kB / 0.9753 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.9082, allocations: 24.86 kB / 0.9753 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008335/0.9091, allocations: 0.5029 MB / 0.9758 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9091, allocations: 0 / 0.9758 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00127/0.9103, allocations: 303.8 kB / 0.9761 GB, free: 2.543 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007749/0.9181, allocations: 3.09 MB / 0.9791 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.9229, allocations: 1.607 MB / 0.9807 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.923, allocations: 4.25 kB / 0.9807 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.9255, allocations: 0.9565 MB / 0.9816 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.9281, allocations: 461.5 kB / 0.9821 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03665/0.9648, allocations: 11.14 MB / 0.993 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.9656, allocations: 0.9867 MB / 0.9939 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001/0.9666, allocations: 166.8 kB / 0.9941 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/0.9672, allocations: 295.2 kB / 0.9944 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.9672, allocations: 4 kB / 0.9944 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07892/1.046, allocations: 31.69 MB / 1.025 GB, free: 316 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.66, allocations: 14.05 kB / 1.025 GB, free: 304 kB / 0.7481 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw_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_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.56474443618208] Failed to read output from testmodel.py, exit status != 0: 12.763835632009432 12.779994556 11.994469932 Calling exit ...