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.002407/0.002407, allocations: 93.47 kB / 19.44 MB, free: 332 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.002977/0.002977, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.0035/0.0035, allocations: 230 kB / 259.8 MB, free: 12.88 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 1.196/1.196, allocations: 138.4 MB / 454.7 MB, free: 1.504 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.452e-06/1.452e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.722e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03913/0.03916, allocations: 30.22 MB / 0.5839 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.05229, allocations: 7.134 MB / 0.5908 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.05351, allocations: 63.38 kB / 0.5909 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.05533, allocations: 0.7066 MB / 0.5916 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.05983, allocations: 1.609 MB / 0.5932 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.06278, allocations: 1.13 MB / 0.5943 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003823/0.0666, allocations: 2.558 MB / 0.5968 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.06788, allocations: 0.6975 MB / 0.5974 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.07039, allocations: 1.355 MB / 0.5988 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.07166, allocations: 0.7517 MB / 0.5995 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.07184, allocations: 75.94 kB / 0.5996 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.07366, allocations: 0.6817 MB / 0.6002 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.07404, allocations: 306.7 kB / 0.6005 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.07456, allocations: 366.9 kB / 0.6009 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.265/0.3395, allocations: 1.609 MB / 0.6024 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3395, allocations: 0.875 kB / 0.6024 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3395, allocations: 0 / 0.6024 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.569e-05/0.3396, allocations: 2.562 kB / 0.6024 GB, free: 66.01 MB / 0.5105 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.002629/0.3422, allocations: 1.699 MB / 0.6041 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3422, allocations: 8.781 kB / 0.6041 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.3451, allocations: 0.5446 MB / 0.6046 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3464, allocations: 0.8215 MB / 0.6054 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.3464, allocations: 58.91 kB / 0.6055 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3465, allocations: 76.44 kB / 0.6056 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.3484, allocations: 1.091 MB / 0.6066 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.3484, allocations: 6.281 kB / 0.6067 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.3485, allocations: 35.28 kB / 0.6067 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3485, allocations: 18.78 kB / 0.6067 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.3506, allocations: 0.8288 MB / 0.6075 GB, free: 64.38 MB / 0.5105 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.00505/0.3557, allocations: 5.328 MB / 0.6127 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.3578, allocations: 0.7407 MB / 0.6134 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.3588, allocations: 372.8 kB / 0.6138 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.3595, allocations: 168.1 kB / 0.614 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.3606, allocations: 0.5003 MB / 0.6144 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.935e-06/0.3606, allocations: 3.75 kB / 0.6144 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.003592/0.3642, allocations: 1.217 MB / 0.6156 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.3643, allocations: 63 kB / 0.6157 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3656, allocations: 1.122 MB / 0.6168 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.3657, allocations: 39.73 kB / 0.6168 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.3662, allocations: 0.6636 MB / 0.6175 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.3664, allocations: 227.7 kB / 0.6177 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.3667, allocations: 189.8 kB / 0.6179 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3668, allocations: 0.5221 MB / 0.6184 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.3679, allocations: 349.1 kB / 0.6187 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.3692, allocations: 0.9579 MB / 0.6197 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.3715, allocations: 1.035 MB / 0.6207 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.3716, allocations: 3.531 kB / 0.6207 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003031/0.3746, allocations: 1.117 MB / 0.6218 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3746, allocations: 8.219 kB / 0.6218 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3746, allocations: 8.734 kB / 0.6218 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.3747, allocations: 12.73 kB / 0.6218 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3757, allocations: 232.3 kB / 0.622 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.3758, allocations: 21.12 kB / 0.622 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3768, allocations: 125.4 kB / 0.6221 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3769, allocations: 52.95 kB / 0.6222 GB, free: 58.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.0004917/0.3774, allocations: 281.1 kB / 0.6225 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.3776, allocations: 138.7 kB / 0.6226 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.3808, allocations: 1.151 MB / 0.6237 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.3808, allocations: 16.78 kB / 0.6237 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3808, allocations: 5.219 kB / 0.6237 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3808, allocations: 3.984 kB / 0.6237 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.3853, allocations: 2.133 MB / 0.6258 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.3854, allocations: 5.188 kB / 0.6258 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/0.3863, allocations: 163.4 kB / 0.626 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.3863, allocations: 4.984 kB / 0.626 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.3863, allocations: 24.3 kB / 0.626 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3863, allocations: 4.594 kB / 0.626 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3864, allocations: 2.781 kB / 0.626 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.3905, allocations: 1.717 MB / 0.6277 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.391, allocations: 202.5 kB / 0.6279 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.3912, allocations: 16.98 kB / 0.6279 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.3919, allocations: 68.28 kB / 0.628 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3921, allocations: 59.97 kB / 0.628 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.3922, allocations: 34.61 kB / 0.6281 GB, free: 56.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009298/0.3931, allocations: 0.6738 MB / 0.6287 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 0 / 0.6287 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001262/0.3943, allocations: 368.7 kB / 0.6291 GB, free: 56.64 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.003396/0.3977, allocations: 0.6853 MB / 0.6297 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.4005, allocations: 0.9405 MB / 0.6307 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4005, allocations: 0 / 0.6307 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4018, allocations: 496.8 kB / 0.6311 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.4036, allocations: 405.6 kB / 0.6315 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.4078, allocations: 2.142 MB / 0.6336 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.4083, allocations: 0.5082 MB / 0.6341 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008409/0.4092, allocations: 216.4 kB / 0.6343 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.4095, allocations: 103.4 kB / 0.6344 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/0.4095, allocations: 0 / 0.6344 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.02757/0.4371, allocations: 18.88 MB / 0.6529 GB, free: 49.24 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: 6.980504114064388]