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.001925/0.001925, 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.00228/0.00228, allocations: 211.9 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.015/1.015, allocations: 149.9 MB / 463 MB, free: 10.35 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,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.002127/0.002127, allocations: 70.08 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2017, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8379/1.04, allocations: 214.7 MB / 0.9378 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02205/1.062, allocations: 8.055 MB / 0.9457 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/1.065, allocations: 95.12 kB / 0.9458 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004237/1.069, allocations: 1.052 MB / 0.9468 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/1.08, allocations: 3.224 MB / 0.95 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009745/1.09, allocations: 3.493 MB / 0.9534 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007437/1.097, allocations: 4.034 MB / 0.9573 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/1.1, allocations: 1.125 MB / 0.9584 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/1.106, allocations: 2.336 MB / 0.9607 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/1.109, allocations: 1.416 MB / 0.9621 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000334/1.109, allocations: 136 kB / 0.9622 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007785/1.117, allocations: 3.186 MB / 0.9653 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/1.118, allocations: 0.6268 MB / 0.9659 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.12, allocations: 0.8318 MB / 0.9667 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009937/1.13, allocations: 3.784 MB / 0.9704 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/1.13, allocations: 0 / 0.9704 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.425e-06/1.13, allocations: 0 / 0.9704 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.865e-05/1.13, allocations: 0 / 0.9704 GB, free: 12.83 MB / 0.7481 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.006794/1.136, allocations: 2.674 MB / 0.973 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.136, allocations: 12.03 kB / 0.9731 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/1.137, allocations: 203.1 kB / 0.9732 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008308/1.145, allocations: 1.333 MB / 0.9745 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/1.148, allocations: 1.177 MB / 0.9757 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.148, allocations: 98.59 kB / 0.9758 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.148, allocations: 139.9 kB / 0.9759 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/1.153, allocations: 2.082 MB / 0.978 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/1.153, allocations: 4.562 kB / 0.978 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/1.154, allocations: 52 kB / 0.978 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-05/1.154, allocations: 66.47 kB / 0.9781 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/1.16, allocations: 2.191 MB / 0.9802 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/1.172, allocations: 6.47 MB / 0.9865 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/1.177, allocations: 1.82 MB / 0.9883 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/1.179, allocations: 0.9327 MB / 0.9892 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/1.18, allocations: 196.8 kB / 0.9894 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002865/1.183, allocations: 1.075 MB / 0.9905 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=119): time 3.416e-06/1.183, allocations: 384 / 0.9905 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119): time 0.008908/1.192, allocations: 2.904 MB / 0.9933 GB, free: 4.98 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/1.192, allocations: 72.41 kB / 0.9934 GB, free: 4.898 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.195, allocations: 1.687 MB / 0.995 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.195, allocations: 45.7 kB / 0.9951 GB, free: 3.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/1.195, allocations: 0.8172 MB / 0.9959 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000471/1.196, allocations: 436.2 kB / 0.9963 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/1.196, allocations: 246.8 kB / 0.9965 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.197, allocations: 353.9 kB / 0.9968 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/1.199, allocations: 0.8338 MB / 0.9977 GB, free: 484 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.202, allocations: 1.368 MB / 0.999 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/1.207, allocations: 1.942 MB / 1.001 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.207, allocations: 0 / 1.001 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006279/1.213, allocations: 2.218 MB / 1.003 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.213, allocations: 8 kB / 1.003 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.213, allocations: 8.625 kB / 1.003 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/1.213, allocations: 19.98 kB / 1.003 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.216, allocations: 407.7 kB / 1.003 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/1.216, allocations: 15.94 kB / 1.003 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.218, allocations: 287.5 kB / 1.004 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.218, allocations: 63.97 kB / 1.004 GB, free: 9.863 MB / 0.7794 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.0009238/1.219, allocations: 399.3 kB / 1.004 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/1.219, allocations: 207.3 kB / 1.004 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/1.225, allocations: 2.223 MB / 1.007 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.225, allocations: 12 kB / 1.007 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.225, allocations: 3.938 kB / 1.007 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.225, allocations: 3.984 kB / 1.007 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009788/1.235, allocations: 4.292 MB / 1.011 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.235, allocations: 8 kB / 1.011 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/1.237, allocations: 347.2 kB / 1.011 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/1.237, allocations: 12 kB / 1.011 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.237, allocations: 39.97 kB / 1.011 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/1.237, allocations: 15.94 kB / 1.011 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.237, allocations: 11.94 kB / 1.011 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009184/1.246, allocations: 3.516 MB / 1.015 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.248, allocations: 350.3 kB / 1.015 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.248, allocations: 28 kB / 1.015 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.25, allocations: 175.8 kB / 1.015 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.25, allocations: 100.7 kB / 1.015 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.25, allocations: 51.97 kB / 1.015 GB, free: 13.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001877/1.252, allocations: 1.15 MB / 1.016 GB, free: 12.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.252, allocations: 0 / 1.016 GB, free: 12.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001515/1.253, allocations: 0.4916 MB / 1.017 GB, free: 12.21 MB / 0.795 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 (125): * Single equations (assignments): 119 * 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.01133/1.265, allocations: 4.571 MB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005571/1.27, allocations: 1.923 MB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/1.27, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/1.273, allocations: 0.9792 MB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.277, allocations: 0.9497 MB / 1.025 GB, free: 3.918 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04303/1.32, allocations: 16.16 MB / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/1.322, allocations: 0.8098 MB / 1.042 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003349/1.325, allocations: 478.6 kB / 1.042 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.327, allocations: 0.7297 MB / 1.043 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of SimCode: time 1.433e-06/1.327, allocations: 0 / 1.043 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5958/1.923, allocations: 55.92 MB / 1.097 GB, free: 312.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.65, allocations: 7.812 kB / 1.098 GB, free: 312.2 MB / 0.8575 GB " [Timeout remaining time 644] (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: 19.954915661830455] Failed to read output from testmodel.py, exit status != 0: 15.853786432184279 15.87282382 14.739599303 Calling exit ...