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.001401/0.001401, allocations: 105 kB / 20.44 MB, free: 1.504 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.001692/0.001692, allocations: 209.7 kB / 23.76 MB, free: 4.727 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.9826/0.9826, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.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: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [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.002145/0.002145, allocations: 68.53 kB / 0.6425 GB, free: 9.84 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2143, allocations: 89.17 MB / 0.7296 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4716/0.6859, allocations: 55.78 MB / 0.7841 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.7026, allocations: 10.51 MB / 0.7943 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.7054, allocations: 95.78 kB / 0.7944 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.7083, allocations: 0.9116 MB / 0.7953 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.7155, allocations: 2.088 MB / 0.7974 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00698/0.7224, allocations: 2.072 MB / 0.7994 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007306/0.7297, allocations: 3.823 MB / 0.8031 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.7317, allocations: 1.002 MB / 0.8041 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.7368, allocations: 1.976 MB / 0.806 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.7394, allocations: 1.265 MB / 0.8073 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.7396, allocations: 106.6 kB / 0.8074 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.7436, allocations: 1.386 MB / 0.8087 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004864/0.7441, allocations: 401.8 kB / 0.8091 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.7458, allocations: 0.8576 MB / 0.8099 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.7524, allocations: 2.477 MB / 0.8124 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7524, allocations: 0 / 0.8124 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7524, allocations: 5.188 kB / 0.8124 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.7524, allocations: 0 / 0.8124 GB, free: 9.078 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.004011/0.7565, allocations: 2.133 MB / 0.8144 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7565, allocations: 13.81 kB / 0.8145 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.7601, allocations: 0.6626 MB / 0.8151 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.7626, allocations: 1.105 MB / 0.8162 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.7626, allocations: 84.33 kB / 0.8163 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.7628, allocations: 104.7 kB / 0.8164 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.766, allocations: 1.494 MB / 0.8178 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.766, allocations: 8.531 kB / 0.8178 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.7661, allocations: 44.38 kB / 0.8179 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.7661, allocations: 28.88 kB / 0.8179 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.7695, allocations: 1.23 MB / 0.8191 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.7797, allocations: 8.327 MB / 0.8272 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.783, allocations: 1.047 MB / 0.8283 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.7845, allocations: 0.5244 MB / 0.8288 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.7856, allocations: 291.2 kB / 0.829 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/0.7874, allocations: 0.6791 MB / 0.8297 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.885e-06/0.7874, allocations: 0 / 0.8297 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005353/0.7927, allocations: 1.804 MB / 0.8315 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.7928, allocations: 60.41 kB / 0.8315 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.7949, allocations: 1.518 MB / 0.833 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.795, allocations: 51.11 kB / 0.8331 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.7958, allocations: 0.8123 MB / 0.8339 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.7961, allocations: 305.3 kB / 0.8341 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.7964, allocations: 222.4 kB / 0.8344 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.7966, allocations: 353.2 kB / 0.8347 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.7981, allocations: 0.5143 MB / 0.8352 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.7999, allocations: 0.9008 MB / 0.8361 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.803, allocations: 1.416 MB / 0.8375 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.8031, allocations: 2.625 kB / 0.8375 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004044/0.8071, allocations: 1.61 MB / 0.839 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.8071, allocations: 12.12 kB / 0.839 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.8072, allocations: 10.5 kB / 0.8391 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.8072, allocations: 20.62 kB / 0.8391 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8086, allocations: 343.6 kB / 0.8394 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.03e-05/0.8086, allocations: 31.95 kB / 0.8394 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.8103, allocations: 236.5 kB / 0.8397 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.8105, allocations: 64.03 kB / 0.8397 GB, free: 5.301 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.0008023/0.8113, allocations: 350.7 kB / 0.8401 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/0.8118, allocations: 178.9 kB / 0.8402 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.8173, allocations: 2.147 MB / 0.8423 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/0.8173, allocations: 23.91 kB / 0.8423 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.8174, allocations: 3.938 kB / 0.8423 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.8174, allocations: 3.984 kB / 0.8424 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007736/0.8251, allocations: 3.352 MB / 0.8456 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.8251, allocations: 7.625 kB / 0.8456 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.8263, allocations: 231.8 kB / 0.8459 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.8263, allocations: 8 kB / 0.8459 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.8264, allocations: 31.97 kB / 0.8459 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.8264, allocations: 19.86 kB / 0.8459 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8264, allocations: 4 kB / 0.8459 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.833, allocations: 2.78 MB / 0.8486 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.834, allocations: 330.2 kB / 0.8489 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.8345, allocations: 29.06 kB / 0.849 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.8358, allocations: 115.9 kB / 0.8491 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.836, allocations: 80.86 kB / 0.8492 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.8361, allocations: 51.95 kB / 0.8492 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001892/0.838, allocations: 1.027 MB / 0.8502 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.838, allocations: 0 / 0.8502 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002413/0.8404, allocations: 0.5535 MB / 0.8508 GB, free: 10.01 MB / 0.6231 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 (113): * Single equations (assignments): 82 * 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.003051/0.8435, allocations: 0.8298 MB / 0.8516 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00421/0.8477, allocations: 1.438 MB / 0.853 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8477, allocations: 0 / 0.853 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.8497, allocations: 0.7675 MB / 0.8537 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.8539, allocations: 0.7326 MB / 0.8544 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008463/0.8624, allocations: 3.281 MB / 0.8576 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.864, allocations: 1.309 MB / 0.8589 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/0.8647, allocations: 187.2 kB / 0.8591 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of SimCode: time 1.233e-06/0.8647, allocations: 0 / 0.8591 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.05484/0.9195, allocations: 29.18 MB / 0.8876 GB, free: 4.609 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.727800318971276] Failed to read output from testmodel.py, exit status != 0: 0.929103238042444 0.94612878 0.18999944200000002 Calling exit ...