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.001356/0.001356, allocations: 111.3 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.001568/0.001568, allocations: 204 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.559/1.559, 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 0.9841/0.9841, allocations: 150 MB / 459.5 MB, free: 5.273 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_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.002025/0.002025, allocations: 70.09 kB / 0.6362 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 89.13 MB / 0.7232 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06394/0.2375, allocations: 55.24 MB / 0.7771 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.254, allocations: 10.46 MB / 0.7874 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.2563, allocations: 95.12 kB / 0.7874 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.2589, allocations: 0.9125 MB / 0.7883 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005918/0.2649, allocations: 2.056 MB / 0.7903 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005828/0.2707, allocations: 2.015 MB / 0.7923 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006295/0.277, allocations: 3.788 MB / 0.796 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.2793, allocations: 1.017 MB / 0.797 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.284, allocations: 1.957 MB / 0.7989 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2866, allocations: 1.272 MB / 0.8002 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004715/0.287, allocations: 104 kB / 0.8003 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.2905, allocations: 1.337 MB / 0.8016 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.2911, allocations: 402.1 kB / 0.8019 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.2928, allocations: 0.8547 MB / 0.8028 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.2987, allocations: 2.475 MB / 0.8052 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2987, allocations: 0 / 0.8052 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2987, allocations: 0 / 0.8052 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001109/0.2989, allocations: 0 / 0.8052 GB, free: 15.71 MB / 0.6231 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.005735/0.3046, allocations: 2.216 MB / 0.8074 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 8.216e-05/0.3047, allocations: 12.03 kB / 0.8074 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003473/0.305, allocations: 164.8 kB / 0.8075 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.3092, allocations: 0.6543 MB / 0.8082 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.3124, allocations: 1.208 MB / 0.8093 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3125, allocations: 86.14 kB / 0.8094 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.3128, allocations: 108 kB / 0.8095 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.3167, allocations: 1.496 MB / 0.811 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3167, allocations: 3.938 kB / 0.811 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.3169, allocations: 48 kB / 0.811 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.3169, allocations: 39.98 kB / 0.8111 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.321, allocations: 1.221 MB / 0.8123 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.3324, allocations: 8.379 MB / 0.8205 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.3362, allocations: 1.05 MB / 0.8215 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.3381, allocations: 0.531 MB / 0.822 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002791/0.3409, allocations: 2.89 MB / 0.8248 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002249/0.3431, allocations: 0.6683 MB / 0.8255 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 4.588e-06/0.3431, allocations: 4 kB / 0.8255 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.006395/0.3495, allocations: 1.807 MB / 0.8272 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.3496, allocations: 60.41 kB / 0.8273 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.3523, allocations: 1.526 MB / 0.8288 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.3525, allocations: 41.7 kB / 0.8288 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/0.3534, allocations: 0.804 MB / 0.8296 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.3539, allocations: 313.4 kB / 0.8299 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.3543, allocations: 222.8 kB / 0.8301 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3545, allocations: 345.9 kB / 0.8305 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.3564, allocations: 0.5217 MB / 0.831 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.3586, allocations: 0.8993 MB / 0.8318 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.3628, allocations: 1.414 MB / 0.8332 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.3628, allocations: 4 kB / 0.8332 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005473/0.3683, allocations: 1.617 MB / 0.8348 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.3683, allocations: 12 kB / 0.8348 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/0.3683, allocations: 12 kB / 0.8348 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.237e-05/0.3684, allocations: 19.94 kB / 0.8349 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.37, allocations: 347.7 kB / 0.8352 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-05/0.37, allocations: 27.97 kB / 0.8352 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.3717, allocations: 230.8 kB / 0.8354 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.3719, allocations: 63.97 kB / 0.8355 GB, free: 14.73 MB / 0.6544 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.0007635/0.3727, allocations: 347.6 kB / 0.8358 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.3731, allocations: 174.9 kB / 0.836 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/0.3787, allocations: 2.086 MB / 0.838 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/0.3788, allocations: 19.92 kB / 0.838 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3788, allocations: 7.922 kB / 0.8381 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3788, allocations: 7.984 kB / 0.8381 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007818/0.3866, allocations: 3.308 MB / 0.8413 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3866, allocations: 0 / 0.8413 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.3879, allocations: 235.8 kB / 0.8415 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.3879, allocations: 8 kB / 0.8415 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.388, allocations: 35.97 kB / 0.8416 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.3881, allocations: 4 kB / 0.8416 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.3881, allocations: 15.92 kB / 0.8416 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007085/0.3952, allocations: 2.702 MB / 0.8442 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.396, allocations: 395.4 kB / 0.8446 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.3964, allocations: 24 kB / 0.8446 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.3977, allocations: 115.9 kB / 0.8447 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.3978, allocations: 88.77 kB / 0.8448 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.398, allocations: 51.95 kB / 0.8449 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001829/0.3998, allocations: 1.023 MB / 0.8459 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.8459 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001991/0.4018, allocations: 0.5457 MB / 0.8464 GB, free: 3.441 MB / 0.6544 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 (110): * Single equations (assignments): 79 * 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.01013/0.4119, allocations: 3.976 MB / 0.8503 GB, free: 15.58 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004454/0.4164, allocations: 1.418 MB / 0.8517 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.4164, allocations: 0 / 0.8517 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.4187, allocations: 0.7363 MB / 0.8524 GB, free: 13.42 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/0.4226, allocations: 0.7378 MB / 0.8531 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4047/0.8273, allocations: 12.66 MB / 0.8655 GB, free: 135.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.8287, allocations: 1.306 MB / 0.8667 GB, free: 135 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00196/0.8307, allocations: 373 kB / 0.8671 GB, free: 135 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.8319, allocations: 0.7249 MB / 0.8678 GB, free: 135 MB / 0.67 GB Notification: Performance of SimCode: time 1.943e-06/0.8319, allocations: 0 / 0.8678 GB, free: 135 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09692/0.9288, allocations: 47.86 MB / 0.9145 GB, free: 103.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.11, allocations: 6.219 kB / 0.9145 GB, free: 103.1 MB / 0.67 GB " [Timeout remaining time 647] (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: 17.35422117682174] Failed to read output from testmodel.py, exit status != 0: 13.263065117178485 13.282443281 12.979685034 Calling exit ...