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.001337/0.001337, allocations: 113.9 kB / 19.7 MB, free: 2.207 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.001425/0.001425, allocations: 223.5 kB / 23.01 MB, free: 5.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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.9626/0.9626, allocations: 150 MB / 463.2 MB, free: 10.46 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.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.002061/0.002061, allocations: 70.58 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1887, allocations: 89.17 MB / 0.7283 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5803/0.769, allocations: 196.7 MB / 0.9204 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0077/0.7767, allocations: 4.227 MB / 0.9246 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.7776, allocations: 23.81 kB / 0.9246 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.779, allocations: 0.4892 MB / 0.9251 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.7834, allocations: 1.661 MB / 0.9267 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.7879, allocations: 1.421 MB / 0.9281 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.7907, allocations: 1.679 MB / 0.9297 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.792, allocations: 0.8522 MB / 0.9305 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.7946, allocations: 1.125 MB / 0.9316 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.796, allocations: 0.9384 MB / 0.9326 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.7962, allocations: 104 kB / 0.9327 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.7993, allocations: 1.442 MB / 0.9341 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.7997, allocations: 382.8 kB / 0.9344 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.8004, allocations: 0.5406 MB / 0.935 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.8033, allocations: 1.728 MB / 0.9366 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8033, allocations: 0 / 0.9366 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8033, allocations: 0 / 0.9366 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.8033, allocations: 0 / 0.9366 GB, free: 1.895 MB / 0.7012 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.002905/0.8062, allocations: 1.216 MB / 0.9378 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.8063, allocations: 8.031 kB / 0.9378 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.8064, allocations: 94.52 kB / 0.9379 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.8096, allocations: 426.9 kB / 0.9383 GB, free: 116 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8108, allocations: 0.5893 MB / 0.9389 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.8108, allocations: 33 kB / 0.9389 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.8109, allocations: 48 kB / 0.939 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.813, allocations: 1.133 MB / 0.9401 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.8131, allocations: 7.953 kB / 0.9401 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.8132, allocations: 19.98 kB / 0.9401 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.8132, allocations: 35.92 kB / 0.9402 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.8157, allocations: 1.207 MB / 0.9413 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006518/0.8222, allocations: 4.354 MB / 0.9456 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.8244, allocations: 0.8475 MB / 0.9464 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.8257, allocations: 0.576 MB / 0.947 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.8262, allocations: 88.33 kB / 0.9471 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.8262, allocations: 39 kB / 0.9471 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002439/0.8287, allocations: 0.6321 MB / 0.9477 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 3.236e-06/0.8287, allocations: 0 / 0.9477 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.01942/0.8481, allocations: 3.972 MB / 0.9516 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.8481, allocations: 59.84 kB / 0.9517 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.8492, allocations: 0.7157 MB / 0.9524 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.8494, allocations: 37.7 kB / 0.9524 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.8497, allocations: 336.8 kB / 0.9527 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.8499, allocations: 182.4 kB / 0.9529 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.8503, allocations: 154 kB / 0.953 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8504, allocations: 322 kB / 0.9533 GB, free: 412 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.8516, allocations: 0.4928 MB / 0.9538 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.8528, allocations: 0.5794 MB / 0.9544 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.8551, allocations: 1.105 MB / 0.9555 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8551, allocations: 0 / 0.9555 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01258/0.8676, allocations: 2.748 MB / 0.9582 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.8677, allocations: 4 kB / 0.9582 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.8677, allocations: 4.688 kB / 0.9582 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00987/0.8776, allocations: 1.736 MB / 0.9599 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.8784, allocations: 119.8 kB / 0.96 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.8921, allocations: 6.947 MB / 0.9668 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.8933, allocations: 44.02 kB / 0.9668 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.8934, allocations: 51.91 kB / 0.9668 GB, free: 2.27 MB / 0.7325 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.0004246/0.8938, allocations: 216.6 kB / 0.967 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.894, allocations: 83.48 kB / 0.9671 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/0.9003, allocations: 1.923 MB / 0.969 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.9003, allocations: 8 kB / 0.969 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9003, allocations: 4 kB / 0.969 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9003, allocations: 3.984 kB / 0.969 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007472/0.9078, allocations: 2.814 MB / 0.9718 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.9078, allocations: 4 kB / 0.9718 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.9086, allocations: 123.9 kB / 0.9719 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.9121, allocations: 0.7977 MB / 0.9727 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.9122, allocations: 15.98 kB / 0.9727 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.9194, allocations: 4.642 MB / 0.9772 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.9194, allocations: 7.938 kB / 0.9772 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/0.9263, allocations: 2.465 MB / 0.9796 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/0.927, allocations: 175.3 kB / 0.9798 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.9271, allocations: 11.98 kB / 0.9798 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/0.928, allocations: 51.95 kB / 0.9799 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.9282, allocations: 56.27 kB / 0.9799 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.9283, allocations: 19.98 kB / 0.9799 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007381/0.929, allocations: 0.5068 MB / 0.9804 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.929, allocations: 0 / 0.9804 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001018/0.93, allocations: 299.8 kB / 0.9807 GB, free: 3.691 MB / 0.7481 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.007485/0.9375, allocations: 3.089 MB / 0.9837 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004553/0.9421, allocations: 1.611 MB / 0.9853 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9421, allocations: 0 / 0.9853 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.9444, allocations: 0.9529 MB / 0.9862 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.9467, allocations: 488.1 kB / 0.9867 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/0.9811, allocations: 11.13 MB / 0.9976 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.9817, allocations: 0.9751 MB / 0.9985 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.9825, allocations: 174.7 kB / 0.9987 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.9831, allocations: 291.3 kB / 0.999 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of SimCode: time 7.81e-07/0.9831, allocations: 0 / 0.999 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/1.061, allocations: 32.39 MB / 1.031 GB, free: 0.625 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.63, allocations: 4.062 kB / 1.031 GB, free: 0.6211 MB / 0.795 GB " [Timeout remaining time 645] (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: 18.589467328001774] Failed to read output from testmodel.py, exit status != 0: 14.757267709002917 14.791791436 13.981989474 Calling exit ...