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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 112.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 191.7 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7765/0.7765, allocations: 126.7 MB / 424.6 MB, free: 6.355 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.91 kB / 0.582 GB, free: 13.03 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3959, allocations: 78.87 MB / 0.659 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.2245/0.6205, allocations: 192.6 MB / 0.8472 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.6273, allocations: 4.02 MB / 0.8511 GB, free: 8.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.6283, allocations: 19.88 kB / 0.8511 GB, free: 8.605 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.6298, allocations: 469 kB / 0.8516 GB, free: 8.145 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.6338, allocations: 1.516 MB / 0.853 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.6373, allocations: 1.37 MB / 0.8544 GB, free: 5.254 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.6398, allocations: 1.623 MB / 0.856 GB, free: 3.625 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.6412, allocations: 0.9471 MB / 0.8569 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.6434, allocations: 1.059 MB / 0.8579 GB, free: 1.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.6449, allocations: 0.8293 MB / 0.8587 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.6452, allocations: 99.94 kB / 0.8588 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.6479, allocations: 1.302 MB / 0.8601 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005262/0.6484, allocations: 355 kB / 0.8604 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008935/0.6493, allocations: 0.5094 MB / 0.8609 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.6523, allocations: 1.643 MB / 0.8625 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6523, allocations: 0 / 0.8625 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6524, allocations: 0 / 0.8625 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.022e-05/0.6524, allocations: 0 / 0.8625 GB, free: 12.86 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003528/0.6559, allocations: 1.475 MB / 0.864 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.656, allocations: 12.03 kB / 0.864 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.6562, allocations: 90.52 kB / 0.8641 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.6578, allocations: 251.1 kB / 0.8643 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6589, allocations: 0.6156 MB / 0.8649 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.6589, allocations: 33 kB / 0.865 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.659, allocations: 48 kB / 0.865 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.6607, allocations: 0.9648 MB / 0.8659 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.6607, allocations: 4 kB / 0.866 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.6608, allocations: 27.92 kB / 0.866 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-05/0.6609, allocations: 35.92 kB / 0.866 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.6625, allocations: 0.9367 MB / 0.8669 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.6683, allocations: 4.263 MB / 0.8711 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6694, allocations: 0.5919 MB / 0.8717 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.6702, allocations: 0.5136 MB / 0.8722 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.6714, allocations: 0.8744 MB / 0.873 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.6715, allocations: 46.94 kB / 0.8731 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/0.673, allocations: 419.5 kB / 0.8735 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 6.041e-06/0.6731, allocations: 0 / 0.8735 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.3056/0.9787, allocations: 3.838 MB / 0.8772 GB, free: 201.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.9787, allocations: 57.03 kB / 0.8773 GB, free: 201 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.9799, allocations: 0.7163 MB / 0.878 GB, free: 200.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.98, allocations: 32.7 kB / 0.878 GB, free: 200.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.9802, allocations: 323.3 kB / 0.8783 GB, free: 200.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.9804, allocations: 191.7 kB / 0.8785 GB, free: 200.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.9807, allocations: 148 kB / 0.8786 GB, free: 200.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.9808, allocations: 325 kB / 0.8789 GB, free: 200 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.9815, allocations: 396.2 kB / 0.8793 GB, free: 199.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.9822, allocations: 485.8 kB / 0.8798 GB, free: 199.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.9837, allocations: 0.9196 MB / 0.8807 GB, free: 199.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9837, allocations: 4.719 kB / 0.8807 GB, free: 199.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01173/0.9954, allocations: 2.567 MB / 0.8832 GB, free: 198.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.9955, allocations: 6.156 kB / 0.8832 GB, free: 198.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.9955, allocations: 3.281 kB / 0.8832 GB, free: 198.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009888/1.005, allocations: 1.734 MB / 0.8849 GB, free: 198.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/1.006, allocations: 93.92 kB / 0.885 GB, free: 198.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.017, allocations: 7.139 MB / 0.892 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/1.018, allocations: 20.36 kB / 0.892 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.018, allocations: 51.55 kB / 0.892 GB, free: 193.2 MB / 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.0003984/1.019, allocations: 215.8 kB / 0.8922 GB, free: 193 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.019, allocations: 84.3 kB / 0.8923 GB, free: 193 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/1.024, allocations: 1.735 MB / 0.894 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.024, allocations: 7.469 kB / 0.894 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.024, allocations: 3.812 kB / 0.894 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/1.024, allocations: 3.984 kB / 0.894 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/1.029, allocations: 2.544 MB / 0.8965 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.029, allocations: 1.312 kB / 0.8965 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/1.03, allocations: 91.8 kB / 0.8966 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/1.033, allocations: 0.8102 MB / 0.8974 GB, free: 190 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/1.033, allocations: 17.69 kB / 0.8974 GB, free: 190 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/1.039, allocations: 4.846 MB / 0.9021 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.039, allocations: 1.031 kB / 0.9021 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/1.044, allocations: 2.157 MB / 0.9042 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/1.044, allocations: 235.2 kB / 0.9045 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.044, allocations: 17.12 kB / 0.9045 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/1.045, allocations: 21.2 kB / 0.9045 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.045, allocations: 52.44 kB / 0.9046 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/1.045, allocations: 26.27 kB / 0.9046 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006395/1.046, allocations: 0.4937 MB / 0.9051 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 0.9051 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001013/1.047, allocations: 295.5 kB / 0.9053 GB, free: 184.2 MB / 0.6856 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 (49): * Single equations (assignments): 47 * 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.005377/1.052, allocations: 2.81 MB / 0.9081 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003402/1.056, allocations: 1.47 MB / 0.9095 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.056, allocations: 1.312 kB / 0.9095 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.057, allocations: 0.922 MB / 0.9104 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.059, allocations: 461.3 kB / 0.9109 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/1.088, allocations: 10.46 MB / 0.9211 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.088, allocations: 0.9845 MB / 0.922 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006436/1.089, allocations: 162.6 kB / 0.9222 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/1.089, allocations: 282.5 kB / 0.9225 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of SimCode: time 6.82e-07/1.089, allocations: 3.938 kB / 0.9225 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/1.146, allocations: 29.68 MB / 0.9514 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.79, allocations: 10.67 kB / 0.9515 GB, free: 145.4 MB / 0.6856 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.221542457002215] Failed to read output from testmodel.py, exit status != 0: 12.891223513986915 12.908949451 12.253384922 Calling exit ...