Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001361/0.001361, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001634/0.001634, allocations: 216.5 kB / 22.99 MB, free: 4.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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.038/1.038, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.002075/0.002075, allocations: 71.7 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2447, allocations: 89.18 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5661/0.8108, allocations: 50.39 MB / 0.7774 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.8275, allocations: 9.754 MB / 0.7869 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.8306, allocations: 94.62 kB / 0.787 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.8339, allocations: 0.9075 MB / 0.7879 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008646/0.8426, allocations: 2.076 MB / 0.7899 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007936/0.8505, allocations: 2.023 MB / 0.7919 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008208/0.8587, allocations: 3.801 MB / 0.7956 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.8617, allocations: 0.9783 MB / 0.7966 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006599/0.8683, allocations: 1.984 MB / 0.7985 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/0.872, allocations: 1.195 MB / 0.7997 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007198/0.8727, allocations: 110.1 kB / 0.7998 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.8775, allocations: 1.037 MB / 0.8008 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.8785, allocations: 403.8 kB / 0.8012 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.8813, allocations: 0.7046 MB / 0.8019 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.8886, allocations: 2.426 MB / 0.8043 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8886, allocations: 0 / 0.8043 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8886, allocations: 1.312 kB / 0.8043 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.355e-05/0.8887, allocations: 0 / 0.8043 GB, free: 12.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004768/0.8934, allocations: 2.136 MB / 0.8063 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.8935, allocations: 10.31 kB / 0.8063 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.8937, allocations: 160.9 kB / 0.8065 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.8974, allocations: 0.6662 MB / 0.8072 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.9003, allocations: 1.088 MB / 0.8082 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.161e-05/0.9003, allocations: 79.2 kB / 0.8083 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.9005, allocations: 110.3 kB / 0.8084 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/0.904, allocations: 1.504 MB / 0.8099 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.904, allocations: 7.531 kB / 0.8099 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.9042, allocations: 44.72 kB / 0.8099 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.9042, allocations: 27.31 kB / 0.8099 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/0.9079, allocations: 1.235 MB / 0.8111 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.9184, allocations: 6.593 MB / 0.8176 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.9219, allocations: 1.06 MB / 0.8186 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.9235, allocations: 0.5305 MB / 0.8191 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.9246, allocations: 286.4 kB / 0.8194 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/0.9266, allocations: 0.6798 MB / 0.8201 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.316e-06/0.9266, allocations: 1.375 kB / 0.8201 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.005981/0.9326, allocations: 1.824 MB / 0.8219 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.9326, allocations: 68.94 kB / 0.8219 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.9351, allocations: 1.564 MB / 0.8234 GB, free: 8 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.9353, allocations: 47.7 kB / 0.8235 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/0.9361, allocations: 0.8039 MB / 0.8243 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.9365, allocations: 309.3 kB / 0.8246 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.9368, allocations: 229 kB / 0.8248 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.937, allocations: 345 kB / 0.8251 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.9386, allocations: 0.524 MB / 0.8256 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.9407, allocations: 1.139 MB / 0.8267 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.9442, allocations: 1.424 MB / 0.8281 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.9443, allocations: 6.688 kB / 0.8281 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004536/0.9488, allocations: 1.621 MB / 0.8297 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.9488, allocations: 9.031 kB / 0.8297 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.9488, allocations: 16 kB / 0.8298 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.9489, allocations: 16.81 kB / 0.8298 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.9502, allocations: 347.8 kB / 0.8301 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.831e-05/0.9502, allocations: 28.94 kB / 0.8301 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.9524, allocations: 233.6 kB / 0.8303 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.9525, allocations: 68.39 kB / 0.8304 GB, free: 11.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0009036/0.9534, allocations: 343.5 kB / 0.8307 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.9537, allocations: 182 kB / 0.8309 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/0.9589, allocations: 2.181 MB / 0.833 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/0.9589, allocations: 22.48 kB / 0.8331 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.9589, allocations: 7.922 kB / 0.8331 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.9589, allocations: 3.984 kB / 0.8331 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00736/0.9663, allocations: 3.241 MB / 0.8362 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9663, allocations: 0 / 0.8362 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.9675, allocations: 239.8 kB / 0.8365 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.9675, allocations: 4 kB / 0.8365 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.9676, allocations: 39.97 kB / 0.8365 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-05/0.9676, allocations: 7.938 kB / 0.8365 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9676, allocations: 4 kB / 0.8365 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006892/0.9745, allocations: 2.834 MB / 0.8393 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.9756, allocations: 326.2 kB / 0.8396 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.9758, allocations: 27.98 kB / 0.8396 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9769, allocations: 127.8 kB / 0.8398 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.9771, allocations: 76.86 kB / 0.8398 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.9772, allocations: 47.95 kB / 0.8399 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001643/0.9789, allocations: 1.054 MB / 0.8409 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9789, allocations: 0 / 0.8409 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001872/0.9807, allocations: 0.5535 MB / 0.8414 GB, free: 1.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.009708/0.9905, allocations: 4.136 MB / 0.8455 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004231/0.9947, allocations: 1.457 MB / 0.8469 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.9947, allocations: 0 / 0.8469 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.9968, allocations: 0.7754 MB / 0.8477 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.001, allocations: 0.7337 MB / 0.8484 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/1.026, allocations: 12.76 MB / 0.8608 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/1.027, allocations: 0.7313 MB / 0.8616 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001465/1.028, allocations: 372.9 kB / 0.8619 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/1.029, allocations: 0.7101 MB / 0.8626 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.432e-06/1.029, allocations: 0 / 0.8626 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.147, allocations: 51.89 MB / 0.9133 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.88, allocations: 6.688 kB / 0.9133 GB, free: 8.039 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.24006458185613] Failed to read output from testmodel.py, exit status != 0: 15.079519701655954 15.096048841 14.203957236 Calling exit ...