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.001273/0.001273, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001482/0.001482, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9272/0.9272, allocations: 150 MB / 463.2 MB, free: 10.48 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.002123/0.002123, allocations: 64.62 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1682, allocations: 89.16 MB / 0.7283 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5662/0.7345, allocations: 196.7 MB / 0.9204 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007282/0.7417, allocations: 4.228 MB / 0.9246 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.7427, allocations: 23.81 kB / 0.9246 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.7442, allocations: 0.4892 MB / 0.9251 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.7486, allocations: 1.668 MB / 0.9267 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.7526, allocations: 1.412 MB / 0.9281 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002835/0.7555, allocations: 1.68 MB / 0.9297 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.7569, allocations: 0.8536 MB / 0.9305 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.7594, allocations: 1.133 MB / 0.9316 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.7611, allocations: 0.9345 MB / 0.9326 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.7615, allocations: 104 kB / 0.9327 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.7646, allocations: 1.446 MB / 0.9341 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.7653, allocations: 382.9 kB / 0.9344 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000982/0.7662, allocations: 0.5328 MB / 0.935 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.7698, allocations: 1.727 MB / 0.9366 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7698, allocations: 0 / 0.9366 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of FrontEnd: time 7.82e-07/0.7698, allocations: 0 / 0.9366 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.287e-05/0.7698, allocations: 0 / 0.9366 GB, free: 1.941 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.003379/0.7732, allocations: 1.22 MB / 0.9378 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.7733, allocations: 8.031 kB / 0.9378 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.7735, allocations: 90.52 kB / 0.9379 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.7768, allocations: 430.9 kB / 0.9383 GB, free: 160 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.7782, allocations: 0.581 MB / 0.9389 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.7782, allocations: 37 kB / 0.9389 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.7784, allocations: 51.98 kB / 0.939 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.7807, allocations: 1.131 MB / 0.9401 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.7807, allocations: 7.953 kB / 0.9401 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.7808, allocations: 20 kB / 0.9401 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.7808, allocations: 35.92 kB / 0.9402 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.7834, allocations: 1.206 MB / 0.9413 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007046/0.7904, allocations: 4.351 MB / 0.9456 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.7927, allocations: 0.8513 MB / 0.9464 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.7939, allocations: 0.5689 MB / 0.947 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/0.7944, allocations: 96.31 kB / 0.9471 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.7945, allocations: 42.98 kB / 0.9471 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002453/0.7969, allocations: 0.6321 MB / 0.9477 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 5.45e-06/0.7969, allocations: 3.938 kB / 0.9477 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.01894/0.8159, allocations: 3.972 MB / 0.9516 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.8159, allocations: 55.84 kB / 0.9517 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8171, allocations: 0.7196 MB / 0.9524 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.8173, allocations: 37.7 kB / 0.9524 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.8176, allocations: 328.8 kB / 0.9527 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.8179, allocations: 186.4 kB / 0.9529 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.8182, allocations: 154 kB / 0.953 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8184, allocations: 322 kB / 0.9533 GB, free: 456 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.8195, allocations: 0.4929 MB / 0.9538 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.8207, allocations: 0.5788 MB / 0.9544 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.823, allocations: 1.098 MB / 0.9555 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.823, allocations: 4 kB / 0.9555 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01225/0.8353, allocations: 2.752 MB / 0.9582 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.8353, allocations: 5.719 kB / 0.9582 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.8353, allocations: 4 kB / 0.9582 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00946/0.8448, allocations: 1.738 MB / 0.9599 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.8457, allocations: 122.1 kB / 0.96 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.859, allocations: 6.936 MB / 0.9667 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.8602, allocations: 44.02 kB / 0.9668 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.8604, allocations: 51.91 kB / 0.9668 GB, free: 2.316 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.0005231/0.8609, allocations: 207.7 kB / 0.967 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.8612, allocations: 87.48 kB / 0.9671 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/0.8673, allocations: 1.926 MB / 0.969 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8673, allocations: 7.938 kB / 0.969 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.8673, allocations: 4 kB / 0.969 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8673, allocations: 3.984 kB / 0.969 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007439/0.8748, allocations: 2.81 MB / 0.9718 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.8748, allocations: 7.984 kB / 0.9718 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.8756, allocations: 124 kB / 0.9719 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/0.879, allocations: 0.7953 MB / 0.9727 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.8791, allocations: 15.98 kB / 0.9727 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.8863, allocations: 4.646 MB / 0.9772 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8863, allocations: 7.938 kB / 0.9772 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/0.8932, allocations: 2.465 MB / 0.9796 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.8938, allocations: 171.3 kB / 0.9798 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.894, allocations: 15.98 kB / 0.9798 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/0.895, allocations: 51.95 kB / 0.9799 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.8952, allocations: 56.27 kB / 0.9799 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.8953, allocations: 23.98 kB / 0.9799 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008018/0.8961, allocations: 0.499 MB / 0.9804 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8961, allocations: 3.938 kB / 0.9804 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00115/0.8972, allocations: 307.8 kB / 0.9807 GB, free: 3.734 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.007263/0.9045, allocations: 3.085 MB / 0.9837 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004609/0.9091, allocations: 1.611 MB / 0.9853 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9091, allocations: 0 / 0.9853 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.9114, allocations: 0.9568 MB / 0.9862 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.9138, allocations: 473.2 kB / 0.9867 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/0.9486, allocations: 11.14 MB / 0.9976 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.9494, allocations: 0.979 MB / 0.9985 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009394/0.9504, allocations: 170.7 kB / 0.9987 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/0.951, allocations: 291.3 kB / 0.999 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of SimCode: time 8.32e-07/0.951, allocations: 0 / 0.999 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08672/1.038, allocations: 32.39 MB / 1.031 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.82, allocations: 9.953 kB / 1.031 GB, free: 0.6641 MB / 0.795 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.56499699689448] Failed to read output from testmodel.py, exit status != 0: 13.945294498000294 13.969692134 13.195196958 Calling exit ...