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.000901/0.000901, allocations: 76.45 kB / 19.93 MB, free: 4.625 MB / 18.57 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.001348/0.001348, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.9085/0.9085, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5763/0.5763, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.327e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4952/0.4952, allocations: 214.2 MB / 0.7634 GB, free: 32.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.5065, allocations: 8.036 MB / 0.7712 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.5089, allocations: 92.44 kB / 0.7713 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.5113, allocations: 1.058 MB / 0.7724 GB, free: 27.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007411/0.5187, allocations: 3.285 MB / 0.7756 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007328/0.5261, allocations: 3.628 MB / 0.7791 GB, free: 24.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.5317, allocations: 4.002 MB / 0.783 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.5337, allocations: 1.073 MB / 0.7841 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.5387, allocations: 2.818 MB / 0.7868 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.5405, allocations: 1.264 MB / 0.7881 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.5407, allocations: 134.8 kB / 0.7882 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.5463, allocations: 3.239 MB / 0.7914 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.5472, allocations: 0.6555 MB / 0.792 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.5485, allocations: 0.6886 MB / 0.7927 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008047/0.5565, allocations: 3.912 MB / 0.7965 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5565, allocations: 0 / 0.7965 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.826e-06/0.5565, allocations: 0 / 0.7965 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.839e-05/0.5566, allocations: 0 / 0.7965 GB, free: 17.54 MB / 0.6355 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.004489/0.5611, allocations: 2.642 MB / 0.7991 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.5611, allocations: 8.781 kB / 0.7991 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.5613, allocations: 199.5 kB / 0.7993 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.5655, allocations: 1.33 MB / 0.8006 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.5676, allocations: 1.154 MB / 0.8017 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.5677, allocations: 107.6 kB / 0.8018 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.5678, allocations: 135.3 kB / 0.8019 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.5706, allocations: 2.08 MB / 0.804 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5706, allocations: 4.531 kB / 0.804 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5707, allocations: 59.44 kB / 0.804 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.5708, allocations: 60.86 kB / 0.8041 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.5742, allocations: 2.189 MB / 0.8062 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006692/0.5809, allocations: 6.464 MB / 0.8125 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.5834, allocations: 1.815 MB / 0.8143 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.5847, allocations: 0.9334 MB / 0.8152 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.5853, allocations: 207.7 kB / 0.8154 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.5867, allocations: 1.065 MB / 0.8164 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=119): time 4.298e-06/0.5867, allocations: 2.406 kB / 0.8164 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119): time 0.004465/0.5911, allocations: 2.905 MB / 0.8193 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5912, allocations: 66.5 kB / 0.8193 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5926, allocations: 1.682 MB / 0.821 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/0.5927, allocations: 50.67 kB / 0.821 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5931, allocations: 0.8124 MB / 0.8218 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.5933, allocations: 430.5 kB / 0.8222 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.5935, allocations: 244.4 kB / 0.8225 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.5936, allocations: 353.3 kB / 0.8228 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.5947, allocations: 0.8275 MB / 0.8236 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.5961, allocations: 1.366 MB / 0.825 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.5985, allocations: 1.947 MB / 0.8269 GB, free: 244 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5985, allocations: 2.656 kB / 0.8269 GB, free: 244 kB / 0.6355 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003544/0.602, allocations: 2.203 MB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.6021, allocations: 9.062 kB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.6021, allocations: 11.81 kB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.6021, allocations: 13.72 kB / 0.829 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6032, allocations: 415.2 kB / 0.8294 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.6032, allocations: 21.92 kB / 0.8295 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.6045, allocations: 287.5 kB / 0.8297 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6047, allocations: 61.38 kB / 0.8298 GB, free: 14.91 MB / 0.6511 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.0007047/0.6054, allocations: 402.2 kB / 0.8302 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.6056, allocations: 199.1 kB / 0.8304 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003168/0.6088, allocations: 2.224 MB / 0.8325 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.6088, allocations: 12 kB / 0.8326 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6088, allocations: 0.8438 kB / 0.8326 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6088, allocations: 3.984 kB / 0.8326 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.6146, allocations: 4.285 MB / 0.8367 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6146, allocations: 8 kB / 0.8367 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/0.6156, allocations: 343.5 kB / 0.8371 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.6156, allocations: 12 kB / 0.8371 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.6157, allocations: 43.95 kB / 0.8371 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.6157, allocations: 21.66 kB / 0.8371 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6157, allocations: 10.53 kB / 0.8372 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.6206, allocations: 3.511 MB / 0.8406 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.6214, allocations: 346.3 kB / 0.8409 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.6216, allocations: 32 kB / 0.8409 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.6224, allocations: 167.8 kB / 0.8411 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.6226, allocations: 105.8 kB / 0.8412 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/0.6226, allocations: 51.97 kB / 0.8413 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001295/0.6239, allocations: 1.15 MB / 0.8424 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6239, allocations: 0 / 0.8424 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001252/0.6252, allocations: 495.5 kB / 0.8429 GB, free: 1.551 MB / 0.6511 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.006115/0.6313, allocations: 4.559 MB / 0.8473 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.6344, allocations: 1.919 MB / 0.8492 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.6344, allocations: 0 / 0.8492 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.6359, allocations: 0.9755 MB / 0.8501 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6385, allocations: 0.9313 MB / 0.851 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.6617, allocations: 16.03 MB / 0.8667 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.6622, allocations: 0.8113 MB / 0.8675 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001445/0.6637, allocations: 474.4 kB / 0.8679 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007752/0.6644, allocations: 0.7268 MB / 0.8686 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.6644, allocations: 0 / 0.8686 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07324/0.7377, allocations: 55.23 MB / 0.9226 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/9.98, allocations: 9.625 kB / 0.9226 GB, free: 0.5664 MB / 0.7292 GB " [Timeout remaining time 650] (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: 12.714196256361902] Failed to read output from testmodel.py, exit status != 0: 10.1059215310961 10.115206062 9.556623443 Calling exit ...