Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.00151/0.00151, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.001633/0.001633, allocations: 205 kB / 20.09 MB, free: 2.977 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.056/1.056, allocations: 150 MB / 459.5 MB, free: 5.289 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.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.002008/0.002008, allocations: 61.66 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1933, allocations: 89.14 MB / 0.7232 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7472/0.9404, allocations: 245.7 MB / 0.9631 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.955, allocations: 8.529 MB / 0.9715 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.9583, allocations: 95.81 kB / 0.9715 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.9622, allocations: 1.073 MB / 0.9726 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.9737, allocations: 3.235 MB / 0.9758 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.9856, allocations: 3.508 MB / 0.9792 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007648/0.9932, allocations: 4.02 MB / 0.9831 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.9963, allocations: 1.2 MB / 0.9843 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/1.004, allocations: 2.317 MB / 0.9865 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/1.008, allocations: 1.481 MB / 0.988 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009564/1.009, allocations: 134.8 kB / 0.9881 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/1.02, allocations: 4.183 MB / 0.9922 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.021, allocations: 0.6228 MB / 0.9928 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/1.024, allocations: 1.01 MB / 0.9938 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/1.036, allocations: 3.928 MB / 0.9976 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.036, allocations: 3.938 kB / 0.9976 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.664e-06/1.036, allocations: 0 / 0.9976 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001219/1.036, allocations: 0 / 0.9976 GB, free: 7.664 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008874/1.045, allocations: 2.766 MB / 1 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.045, allocations: 8.031 kB / 1 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004143/1.046, allocations: 198.5 kB / 1.001 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00912/1.055, allocations: 1.333 MB / 1.002 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/1.058, allocations: 1.291 MB / 1.003 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.058, allocations: 106.6 kB / 1.003 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004289/1.058, allocations: 131.9 kB / 1.003 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005772/1.064, allocations: 2.085 MB / 1.005 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.064, allocations: 4.875 kB / 1.005 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/1.065, allocations: 55.98 kB / 1.005 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/1.065, allocations: 70.47 kB / 1.005 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/1.071, allocations: 2.172 MB / 1.008 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/1.086, allocations: 8.397 MB / 1.016 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005509/1.092, allocations: 1.803 MB / 1.018 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/1.095, allocations: 0.9288 MB / 1.018 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.096, allocations: 0.953 MB / 1.019 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003016/1.099, allocations: 1.063 MB / 1.02 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=119): time 4.288e-06/1.099, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119): time 0.009333/1.109, allocations: 2.888 MB / 1.023 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.109, allocations: 60.41 kB / 1.023 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.111, allocations: 1.652 MB / 1.025 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.112, allocations: 49.7 kB / 1.025 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008354/1.112, allocations: 0.8211 MB / 1.026 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/1.113, allocations: 428.3 kB / 1.026 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005189/1.113, allocations: 242.8 kB / 1.026 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.114, allocations: 353.9 kB / 1.027 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/1.116, allocations: 0.8218 MB / 1.028 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/1.119, allocations: 1.146 MB / 1.029 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/1.124, allocations: 1.926 MB / 1.031 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.125, allocations: 4 kB / 1.031 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006378/1.131, allocations: 2.202 MB / 1.033 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.131, allocations: 8 kB / 1.033 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.131, allocations: 8.844 kB / 1.033 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.131, allocations: 16 kB / 1.033 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/1.133, allocations: 411.4 kB / 1.033 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/1.133, allocations: 19.92 kB / 1.033 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.135, allocations: 282.7 kB / 1.033 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.136, allocations: 64.06 kB / 1.033 GB, free: 1.656 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000825/1.136, allocations: 403.5 kB / 1.034 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.137, allocations: 206.7 kB / 1.034 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00648/1.143, allocations: 2.166 MB / 1.036 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/1.143, allocations: 15.94 kB / 1.036 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.143, allocations: 0 / 1.036 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.143, allocations: 7.969 kB / 1.036 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.154, allocations: 4.457 MB / 1.041 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.154, allocations: 4 kB / 1.041 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.156, allocations: 339.5 kB / 1.041 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-05/1.156, allocations: 8 kB / 1.041 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/1.156, allocations: 44.72 kB / 1.041 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.045e-05/1.156, allocations: 19.92 kB / 1.041 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.156, allocations: 11.94 kB / 1.041 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00924/1.165, allocations: 3.449 MB / 1.044 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/1.166, allocations: 419.5 kB / 1.045 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/1.167, allocations: 33.05 kB / 1.045 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.169, allocations: 167.8 kB / 1.045 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.169, allocations: 96.64 kB / 1.045 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.169, allocations: 51.97 kB / 1.045 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001898/1.171, allocations: 1.138 MB / 1.046 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 0 / 1.046 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001707/1.173, allocations: 491.5 kB / 1.047 GB, free: 3.895 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/1.184, allocations: 4.476 MB / 1.051 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005835/1.19, allocations: 1.903 MB / 1.053 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.19, allocations: 0 / 1.053 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/1.193, allocations: 0.9596 MB / 1.054 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/1.198, allocations: 0.9548 MB / 1.055 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0547/1.253, allocations: 16.08 MB / 1.07 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/1.255, allocations: 1.38 MB / 1.072 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003965/1.259, allocations: 482.8 kB / 1.072 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/1.261, allocations: 0.7258 MB / 1.073 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/1.261, allocations: 3.938 kB / 1.073 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.401, allocations: 51.03 MB / 1.123 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/14.03, allocations: 10.62 kB / 1.123 GB, free: 5.875 MB / 0.8262 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.424018398858607] Failed to read output from testmodel.py, exit status != 0: 14.190139336045831 14.212806039 13.172401131 Calling exit ...