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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8355/0.8355, allocations: 128.4 MB / 432.4 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 64.14 kB / 0.5988 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4731, allocations: 83.26 MB / 0.6801 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05872/0.5318, allocations: 54.96 MB / 0.7337 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.5493, allocations: 10.35 MB / 0.7438 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.5522, allocations: 67.56 kB / 0.7439 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.555, allocations: 0.9164 MB / 0.7448 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.5618, allocations: 2.009 MB / 0.7468 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.5681, allocations: 2.101 MB / 0.7488 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006764/0.5748, allocations: 3.769 MB / 0.7525 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.5771, allocations: 1.001 MB / 0.7535 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005081/0.5821, allocations: 1.922 MB / 0.7553 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.5851, allocations: 1.256 MB / 0.7566 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003777/0.5855, allocations: 104 kB / 0.7567 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.5892, allocations: 1.337 MB / 0.758 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.5898, allocations: 398.3 kB / 0.7584 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.5912, allocations: 0.8585 MB / 0.7592 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.5966, allocations: 2.455 MB / 0.7616 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.5966, allocations: 3.984 kB / 0.7616 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.523e-06/0.5966, allocations: 4 kB / 0.7616 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.5966, allocations: 0 / 0.7616 GB, free: 11.39 MB / 0.5762 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.004166/0.6008, allocations: 2.181 MB / 0.7637 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6008, allocations: 8.031 kB / 0.7637 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.6046, allocations: 0.6582 MB / 0.7644 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.6072, allocations: 1.196 MB / 0.7656 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.6072, allocations: 90.14 kB / 0.7656 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.6074, allocations: 112 kB / 0.7657 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.6108, allocations: 1.5 MB / 0.7672 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.6108, allocations: 3.938 kB / 0.7672 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6109, allocations: 44 kB / 0.7673 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.611, allocations: 35.94 kB / 0.7673 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.6146, allocations: 1.221 MB / 0.7685 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.625, allocations: 8.374 MB / 0.7767 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.6285, allocations: 1.054 MB / 0.7777 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.6301, allocations: 0.5257 MB / 0.7782 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00257/0.6327, allocations: 2.902 MB / 0.781 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.6346, allocations: 0.6761 MB / 0.7817 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.767e-06/0.6346, allocations: 0 / 0.7817 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.006278/0.6409, allocations: 1.795 MB / 0.7835 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.641, allocations: 64.34 kB / 0.7835 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.6436, allocations: 1.485 MB / 0.785 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.6437, allocations: 49.7 kB / 0.785 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007546/0.6445, allocations: 0.7959 MB / 0.7858 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.6448, allocations: 305.4 kB / 0.7861 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.6452, allocations: 230.8 kB / 0.7863 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.6454, allocations: 345.9 kB / 0.7866 GB, free: 156 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.6471, allocations: 0.5217 MB / 0.7871 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.6492, allocations: 0.8992 MB / 0.788 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/0.6529, allocations: 1.41 MB / 0.7894 GB, free: 13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.6529, allocations: 7.938 kB / 0.7894 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004811/0.6577, allocations: 1.609 MB / 0.791 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.6577, allocations: 12 kB / 0.791 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.6577, allocations: 12.09 kB / 0.791 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/0.6578, allocations: 19.94 kB / 0.791 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.6593, allocations: 356 kB / 0.7914 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.099e-05/0.6593, allocations: 23.92 kB / 0.7914 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.6613, allocations: 226.9 kB / 0.7916 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.6614, allocations: 67.95 kB / 0.7917 GB, free: 10.68 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.0008724/0.6623, allocations: 343.6 kB / 0.792 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/0.6629, allocations: 178.9 kB / 0.7922 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.6687, allocations: 2.089 MB / 0.7942 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/0.6687, allocations: 23.92 kB / 0.7942 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.6687, allocations: 0 / 0.7942 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6687, allocations: 7.922 kB / 0.7942 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007959/0.6767, allocations: 3.294 MB / 0.7974 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.6767, allocations: 4 kB / 0.7974 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.6779, allocations: 227.9 kB / 0.7977 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.6779, allocations: 4 kB / 0.7977 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.6781, allocations: 39.95 kB / 0.7977 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.6781, allocations: 8 kB / 0.7977 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6781, allocations: 0 / 0.7977 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/0.6851, allocations: 2.697 MB / 0.8003 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.6862, allocations: 395.4 kB / 0.8007 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/0.6866, allocations: 24 kB / 0.8007 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.688, allocations: 119.9 kB / 0.8009 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.6882, allocations: 76.89 kB / 0.8009 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.6884, allocations: 55.91 kB / 0.801 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00188/0.6902, allocations: 1.003 MB / 0.802 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6902, allocations: 0 / 0.802 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00218/0.6924, allocations: 0.5497 MB / 0.8025 GB, free: 15.41 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 (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.002842/0.6953, allocations: 0.8441 MB / 0.8033 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005019/0.7003, allocations: 1.416 MB / 0.8047 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.7003, allocations: 4.188 kB / 0.8047 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.7029, allocations: 0.7439 MB / 0.8054 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/0.7074, allocations: 0.7282 MB / 0.8062 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/0.715, allocations: 3.209 MB / 0.8093 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.7163, allocations: 1.301 MB / 0.8106 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/0.7171, allocations: 187.3 kB / 0.8107 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of SimCode: time 2.024e-06/0.7171, allocations: 0 / 0.8107 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of Templates: time 0.05324/0.7703, allocations: 29.01 MB / 0.8391 GB, free: 10.35 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: 12.870693407021463] Failed to read output from testmodel.py, exit status != 0: 0.780225794063881 0.794361007 0.194446254 Calling exit ...