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.0009794/0.0009794, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001079/0.001079, allocations: 173 kB / 23.5 MB, free: 1.055 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 0.976/0.976, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.001469/0.001469, allocations: 245 kB / 260.5 MB, free: 12.86 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.7109/0.7109, allocations: 138.4 MB / 455.4 MB, free: 1.547 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 2.655e-06/2.655e-06, allocations: 3.984 kB / 0.5551 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.889e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02039/0.02041, allocations: 30.32 MB / 0.5847 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007624/0.02803, allocations: 7.142 MB / 0.5917 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.02853, allocations: 63.38 kB / 0.5917 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009861/0.02951, allocations: 0.7105 MB / 0.5924 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.0314, allocations: 1.612 MB / 0.594 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.0329, allocations: 1.13 MB / 0.5951 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.03453, allocations: 2.558 MB / 0.5976 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.03511, allocations: 0.6859 MB / 0.5983 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.03633, allocations: 1.351 MB / 0.5996 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.03694, allocations: 0.7556 MB / 0.6003 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.03701, allocations: 68 kB / 0.6004 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008859/0.0379, allocations: 0.6895 MB / 0.6011 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.03809, allocations: 302.7 kB / 0.6013 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.03836, allocations: 362.9 kB / 0.6017 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2357/0.274, allocations: 1.325 MB / 0.603 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.274, allocations: 2.812 kB / 0.603 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.274, allocations: 0 / 0.603 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.419e-05/0.2741, allocations: 0 / 0.603 GB, free: 65.9 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.001928/0.276, allocations: 1.644 MB / 0.6046 GB, free: 65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2761, allocations: 8.594 kB / 0.6046 GB, free: 65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.2776, allocations: 0.5398 MB / 0.6051 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.2784, allocations: 0.8174 MB / 0.6059 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.2784, allocations: 62.73 kB / 0.606 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.2785, allocations: 71.97 kB / 0.6061 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2796, allocations: 0.9275 MB / 0.607 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2796, allocations: 6.375 kB / 0.607 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.2796, allocations: 34.03 kB / 0.607 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.2796, allocations: 18.38 kB / 0.607 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.2802, allocations: 413.8 kB / 0.6074 GB, free: 64.23 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.002778/0.283, allocations: 5.001 MB / 0.6123 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.2838, allocations: 430.6 kB / 0.6127 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.2841, allocations: 187.1 kB / 0.6129 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.2844, allocations: 160.9 kB / 0.613 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.2848, allocations: 312.8 kB / 0.6133 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.2848, allocations: 0.5312 kB / 0.6133 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.001089/0.2859, allocations: 0.6961 MB / 0.614 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2859, allocations: 67.86 kB / 0.6141 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.2866, allocations: 0.9464 MB / 0.615 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.2866, allocations: 43.39 kB / 0.615 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2869, allocations: 0.6186 MB / 0.6156 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.2869, allocations: 221.5 kB / 0.6159 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.2871, allocations: 170.3 kB / 0.616 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.2872, allocations: 0.5086 MB / 0.6165 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.2874, allocations: 156.8 kB / 0.6167 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.2878, allocations: 0.7448 MB / 0.6174 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.2884, allocations: 0.6554 MB / 0.618 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2884, allocations: 2.844 kB / 0.618 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009985/0.2894, allocations: 0.744 MB / 0.6188 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2895, allocations: 15.31 kB / 0.6188 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2895, allocations: 8.188 kB / 0.6188 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.2895, allocations: 16.28 kB / 0.6188 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.29, allocations: 228 kB / 0.619 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.2901, allocations: 22.06 kB / 0.619 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.2905, allocations: 127.7 kB / 0.6192 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.2905, allocations: 46.45 kB / 0.6192 GB, free: 57.99 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.0001931/0.2907, allocations: 219.6 kB / 0.6194 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2909, allocations: 133.8 kB / 0.6195 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.2921, allocations: 0.8019 MB / 0.6203 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2921, allocations: 9.359 kB / 0.6203 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2921, allocations: 5 kB / 0.6203 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.2921, allocations: 3.375 kB / 0.6203 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.2941, allocations: 1.619 MB / 0.6219 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.2941, allocations: 5.953 kB / 0.6219 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.2946, allocations: 162.4 kB / 0.6221 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2946, allocations: 9.594 kB / 0.6221 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.2946, allocations: 23.88 kB / 0.6221 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2946, allocations: 5.922 kB / 0.6221 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2946, allocations: 1.156 kB / 0.6221 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2961, allocations: 1.088 MB / 0.6232 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.2963, allocations: 203.2 kB / 0.6234 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.2964, allocations: 19.8 kB / 0.6234 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2967, allocations: 73.05 kB / 0.6235 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.2968, allocations: 54.64 kB / 0.6235 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.2969, allocations: 36.98 kB / 0.6236 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005374/0.2974, allocations: 0.5825 MB / 0.6241 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2974, allocations: 0 / 0.6241 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007868/0.2982, allocations: 366.8 kB / 0.6245 GB, free: 56.6 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.00128/0.2995, allocations: 0.6291 MB / 0.6251 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00093/0.3004, allocations: 0.5535 MB / 0.6256 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-06/0.3004, allocations: 0 / 0.6256 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.3009, allocations: 302.4 kB / 0.6259 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.302, allocations: 408.8 kB / 0.6263 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.3053, allocations: 1.935 MB / 0.6282 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3055, allocations: 234.8 kB / 0.6284 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006668/0.3061, allocations: 206.2 kB / 0.6286 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.3064, allocations: 104.3 kB / 0.6287 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/0.3064, allocations: 0 / 0.6287 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.02668/0.3331, allocations: 18.94 MB / 0.6472 GB, free: 50.46 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.252292767167091]