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.001932/0.001932, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002508/0.002508, allocations: 209.5 kB / 22.99 MB, free: 4.605 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.003/1.003, allocations: 149.9 MB / 463 MB, free: 10.34 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.002339/0.002339, allocations: 64.53 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1949, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6769/0.8718, allocations: 170.5 MB / 0.8947 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007953/0.8797, allocations: 3.93 MB / 0.8985 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009831/0.8807, allocations: 35.69 kB / 0.8985 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.8822, allocations: 457.1 kB / 0.899 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.8866, allocations: 1.629 MB / 0.9006 GB, free: 4.57 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.8904, allocations: 1.397 MB / 0.9019 GB, free: 3.172 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002659/0.8931, allocations: 1.682 MB / 0.9036 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.8943, allocations: 0.838 MB / 0.9044 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.8968, allocations: 1.141 MB / 0.9055 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.8983, allocations: 0.8604 MB / 0.9063 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.8985, allocations: 104 kB / 0.9064 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.9013, allocations: 1.13 MB / 0.9075 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.9017, allocations: 378.8 kB / 0.9079 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.9023, allocations: 482.1 kB / 0.9084 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.9052, allocations: 1.692 MB / 0.91 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9052, allocations: 0 / 0.91 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9052, allocations: 0 / 0.91 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.9052, allocations: 3.938 kB / 0.91 GB, free: 10.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.002813/0.908, allocations: 1.216 MB / 0.9112 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.908, allocations: 12.03 kB / 0.9112 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.9082, allocations: 94.52 kB / 0.9113 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.9113, allocations: 430.9 kB / 0.9117 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.9126, allocations: 0.581 MB / 0.9123 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.9127, allocations: 37 kB / 0.9123 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.9128, allocations: 48.56 kB / 0.9124 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.915, allocations: 1.187 MB / 0.9135 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.9151, allocations: 11.89 kB / 0.9135 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.9151, allocations: 20 kB / 0.9136 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.9152, allocations: 35.92 kB / 0.9136 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.9178, allocations: 1.202 MB / 0.9148 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.9243, allocations: 3.929 MB / 0.9186 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.9266, allocations: 0.8475 MB / 0.9194 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.9278, allocations: 0.5767 MB / 0.92 GB, free: 352 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005179/0.9283, allocations: 80.34 kB / 0.9201 GB, free: 272 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.9284, allocations: 43 kB / 0.9201 GB, free: 220 kB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002503/0.9309, allocations: 0.6321 MB / 0.9207 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=50): time 3.346e-06/0.9309, allocations: 0 / 0.9207 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=50): time 0.01898/0.9499, allocations: 3.972 MB / 0.9246 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.9499, allocations: 59.78 kB / 0.9247 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.951, allocations: 0.7234 MB / 0.9254 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.9511, allocations: 33.7 kB / 0.9254 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.9514, allocations: 320.9 kB / 0.9257 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.9517, allocations: 190.4 kB / 0.9259 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.952, allocations: 154 kB / 0.926 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.9521, allocations: 326 kB / 0.9263 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.9533, allocations: 0.4889 MB / 0.9268 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.9545, allocations: 0.6258 MB / 0.9274 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.9569, allocations: 1.105 MB / 0.9285 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9569, allocations: 0 / 0.9285 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0122/0.9691, allocations: 2.752 MB / 0.9312 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.9691, allocations: 8 kB / 0.9312 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9691, allocations: 3.984 kB / 0.9312 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/0.9788, allocations: 1.74 MB / 0.9329 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/0.9797, allocations: 123.8 kB / 0.933 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.9933, allocations: 6.87 MB / 0.9397 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.9946, allocations: 48.02 kB / 0.9398 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.9947, allocations: 50.73 kB / 0.9398 GB, free: 11.64 MB / 0.7169 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.0005175/0.9952, allocations: 209.7 kB / 0.94 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9955, allocations: 87.48 kB / 0.9401 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006052/1.002, allocations: 1.916 MB / 0.942 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.002, allocations: 8 kB / 0.942 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.002, allocations: 0 / 0.942 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.002, allocations: 4 kB / 0.942 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/1.009, allocations: 2.658 MB / 0.9446 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.009, allocations: 3.938 kB / 0.9446 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/1.01, allocations: 124 kB / 0.9447 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/1.013, allocations: 0.7938 MB / 0.9455 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/1.013, allocations: 19.98 kB / 0.9455 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/1.021, allocations: 4.603 MB / 0.95 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.021, allocations: 0 / 0.95 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006985/1.028, allocations: 2.481 MB / 0.9524 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/1.028, allocations: 167.4 kB / 0.9526 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.029, allocations: 12 kB / 0.9526 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008867/1.029, allocations: 47.94 kB / 0.9526 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.03, allocations: 64.22 kB / 0.9527 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/1.03, allocations: 19.98 kB / 0.9527 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007069/1.03, allocations: 0.5068 MB / 0.9532 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/1.03, allocations: 0 / 0.9532 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001067/1.031, allocations: 303.8 kB / 0.9535 GB, free: 13.26 MB / 0.7325 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.007388/1.039, allocations: 3.074 MB / 0.9565 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004681/1.044, allocations: 1.615 MB / 0.9581 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.044, allocations: 0 / 0.9581 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.046, allocations: 0.9685 MB / 0.959 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.048, allocations: 467.7 kB / 0.9595 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/1.082, allocations: 11.13 MB / 0.9704 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/1.082, allocations: 389.4 kB / 0.9707 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008892/1.083, allocations: 166.7 kB / 0.9709 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/1.084, allocations: 295.3 kB / 0.9712 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/1.084, allocations: 0 / 0.9712 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/1.168, allocations: 35.42 MB / 1.006 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.1, allocations: 8.266 kB / 1.006 GB, free: 7.957 MB / 0.7794 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 & 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.29963618516922] Failed to read output from testmodel.py, exit status != 0: 14.232074594590813 14.258101189 13.349238384 Calling exit ...