Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001452/0.001452, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001699/0.001699, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.099/1.099, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001704/0.001704, allocations: 237.8 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7702/0.7702, allocations: 138.4 MB / 455.2 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.657e-05, allocations: 2.312 kB / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009176/0.009203, allocations: 10.24 MB / 0.5651 GB, free: 6.203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.01573, allocations: 3.878 MB / 0.5689 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.01683, allocations: 67.38 kB / 0.569 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.01799, allocations: 0.5049 MB / 0.5695 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.02019, allocations: 1.068 MB / 0.5705 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.02211, allocations: 1.076 MB / 0.5716 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.02484, allocations: 2.554 MB / 0.5741 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.02594, allocations: 0.6859 MB / 0.5747 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.02777, allocations: 1.192 MB / 0.5759 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.02875, allocations: 0.7557 MB / 0.5766 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.02888, allocations: 64 kB / 0.5767 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.02949, allocations: 271.5 kB / 0.577 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.02971, allocations: 298.7 kB / 0.5773 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.03007, allocations: 370.9 kB / 0.5776 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.03141, allocations: 1.004 MB / 0.5786 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.03141, allocations: 0 / 0.5786 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.03141, allocations: 0 / 0.5786 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.353e-05/0.03145, allocations: 0 / 0.5786 GB, free: 8.375 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001953/0.0334, allocations: 1.59 MB / 0.5801 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.03344, allocations: 8.75 kB / 0.5801 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.03493, allocations: 0.5424 MB / 0.5807 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.03595, allocations: 0.813 MB / 0.5815 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.036, allocations: 62.38 kB / 0.5815 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.03609, allocations: 76.36 kB / 0.5816 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.03741, allocations: 0.9248 MB / 0.5825 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.03742, allocations: 7.938 kB / 0.5825 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.03748, allocations: 28 kB / 0.5825 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.03749, allocations: 16 kB / 0.5826 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.03816, allocations: 419.3 kB / 0.583 GB, free: 3.703 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.04183, allocations: 5.003 MB / 0.5878 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.04266, allocations: 441.4 kB / 0.5883 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.04293, allocations: 185.1 kB / 0.5884 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.04315, allocations: 60.44 kB / 0.5885 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.04356, allocations: 303.7 kB / 0.5888 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 3.607e-06/0.04357, allocations: 7.938 kB / 0.5888 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.001236/0.0448, allocations: 0.7002 MB / 0.5895 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.04484, allocations: 55.91 kB / 0.5895 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.04555, allocations: 0.9424 MB / 0.5904 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.0456, allocations: 49.7 kB / 0.5905 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.04593, allocations: 0.6244 MB / 0.5911 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.04607, allocations: 218.2 kB / 0.5913 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.04625, allocations: 176.2 kB / 0.5915 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.04637, allocations: 0.5043 MB / 0.592 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.04663, allocations: 157.9 kB / 0.5921 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.04711, allocations: 0.7482 MB / 0.5929 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.04778, allocations: 0.6537 MB / 0.5935 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.04778, allocations: 4 kB / 0.5935 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009982/0.04878, allocations: 0.7465 MB / 0.5942 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.0488, allocations: 10.5 kB / 0.5942 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.04881, allocations: 8 kB / 0.5942 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.04884, allocations: 15.94 kB / 0.5943 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.04939, allocations: 231.9 kB / 0.5945 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.0494, allocations: 15.94 kB / 0.5945 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.04985, allocations: 139.4 kB / 0.5946 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.04992, allocations: 43.98 kB / 0.5947 GB, free: 7.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0002239/0.05014, allocations: 218.3 kB / 0.5949 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.05029, allocations: 135.2 kB / 0.595 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.05154, allocations: 0.8032 MB / 0.5958 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.05156, allocations: 11.94 kB / 0.5958 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.05156, allocations: 0 / 0.5958 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.05157, allocations: 3.984 kB / 0.5958 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.05352, allocations: 1.621 MB / 0.5974 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.05352, allocations: 7.938 kB / 0.5974 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.05398, allocations: 163.9 kB / 0.5976 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.05398, allocations: 4 kB / 0.5976 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.05403, allocations: 27.97 kB / 0.5976 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.05403, allocations: 4 kB / 0.5976 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.05404, allocations: 3.938 kB / 0.5976 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.05535, allocations: 1.087 MB / 0.5987 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.05562, allocations: 198.9 kB / 0.5988 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.0557, allocations: 16 kB / 0.5989 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.05604, allocations: 71.92 kB / 0.5989 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.05613, allocations: 56.5 kB / 0.599 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.05618, allocations: 35.97 kB / 0.599 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004718/0.05665, allocations: 0.578 MB / 0.5996 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.05665, allocations: 0 / 0.5996 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006894/0.05734, allocations: 287.4 kB / 0.5999 GB, free: 1.625 MB / 0.5105 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001072/0.05842, allocations: 462.8 kB / 0.6003 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008662/0.05928, allocations: 0.5448 MB / 0.6008 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.05929, allocations: 4 kB / 0.6008 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.05966, allocations: 297.2 kB / 0.6011 GB, free: 476 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.06066, allocations: 411 kB / 0.6015 GB, free: 76 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1778/0.2385, allocations: 1.926 MB / 0.6034 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2386, allocations: 235 kB / 0.6036 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005323/0.2391, allocations: 212.4 kB / 0.6038 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.2393, allocations: 109.5 kB / 0.6039 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/0.2394, allocations: 0 / 0.6039 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.01895/0.2583, allocations: 16.34 MB / 0.6199 GB, free: 90.74 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.494441051967442]