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.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 356 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.001591/0.001591, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002612/0.002612, allocations: 233.2 kB / 259.8 MB, free: 12.84 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.087/1.087, allocations: 138.5 MB / 454.7 MB, free: 1.484 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.794e-06/1.794e-06, allocations: 3.938 kB / 0.5544 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.127e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03817/0.0382, allocations: 26.91 MB / 0.5806 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.05074, allocations: 6.553 MB / 0.587 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.05192, allocations: 67.38 kB / 0.5871 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.05402, allocations: 0.695 MB / 0.5878 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.05845, allocations: 1.62 MB / 0.5894 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.06149, allocations: 1.118 MB / 0.5905 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00392/0.06541, allocations: 2.566 MB / 0.593 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.06704, allocations: 0.6897 MB / 0.5936 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.07039, allocations: 1.359 MB / 0.595 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.07187, allocations: 0.7479 MB / 0.5957 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.07208, allocations: 71.94 kB / 0.5958 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.07389, allocations: 0.6856 MB / 0.5964 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.0743, allocations: 306.7 kB / 0.5967 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006976/0.075, allocations: 355 kB / 0.5971 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.07805, allocations: 1.612 MB / 0.5986 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.07806, allocations: 7.984 kB / 0.5986 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.07807, allocations: 0 / 0.5986 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.07811, allocations: 0 / 0.5986 GB, free: 3.309 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.003589/0.0817, allocations: 1.544 MB / 0.6001 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.08174, allocations: 8.75 kB / 0.6002 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.08557, allocations: 0.6595 MB / 0.6008 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.08748, allocations: 0.822 MB / 0.6016 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.08781, allocations: 58.38 kB / 0.6017 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.088, allocations: 80.31 kB / 0.6017 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1891/0.2771, allocations: 1.109 MB / 0.6028 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.2771, allocations: 0 / 0.6028 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.2772, allocations: 32.19 kB / 0.6028 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2772, allocations: 20.75 kB / 0.6029 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.28, allocations: 1.009 MB / 0.6039 GB, free: 102.9 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.004863/0.2849, allocations: 4.133 MB / 0.6079 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.2877, allocations: 0.8958 MB / 0.6088 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.289, allocations: 467.8 kB / 0.6092 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.2896, allocations: 175.5 kB / 0.6094 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.2912, allocations: 0.5795 MB / 0.6099 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.785e-06/0.2912, allocations: 0 / 0.6099 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.004571/0.2957, allocations: 1.524 MB / 0.6114 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2958, allocations: 63.78 kB / 0.6115 GB, free: 99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.2969, allocations: 1.069 MB / 0.6125 GB, free: 98.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.297, allocations: 48.27 kB / 0.6126 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.2973, allocations: 0.5709 MB / 0.6131 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.2975, allocations: 215.8 kB / 0.6133 GB, free: 98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2978, allocations: 163.7 kB / 0.6135 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.2978, allocations: 336.4 kB / 0.6138 GB, free: 97.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.2993, allocations: 454.6 kB / 0.6143 GB, free: 97.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.301, allocations: 0.9469 MB / 0.6152 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.304, allocations: 1.132 MB / 0.6163 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.304, allocations: 7.531 kB / 0.6163 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003987/0.308, allocations: 1.325 MB / 0.6176 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.308, allocations: 12.25 kB / 0.6176 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3081, allocations: 8.375 kB / 0.6176 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/0.3081, allocations: 11.83 kB / 0.6176 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3094, allocations: 272.1 kB / 0.6179 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.3094, allocations: 17.3 kB / 0.6179 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.3107, allocations: 165.5 kB / 0.6181 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.3108, allocations: 48.55 kB / 0.6181 GB, free: 95.75 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.0005454/0.3113, allocations: 295.5 kB / 0.6184 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.3117, allocations: 140.8 kB / 0.6185 GB, free: 95.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/0.3158, allocations: 1.424 MB / 0.6199 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.3158, allocations: 14.81 kB / 0.6199 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3158, allocations: 0 / 0.6199 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3159, allocations: 3.891 kB / 0.6199 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.3213, allocations: 2.25 MB / 0.6221 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.3213, allocations: 5.25 kB / 0.6221 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.3224, allocations: 193.4 kB / 0.6223 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.3225, allocations: 11.59 kB / 0.6223 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.3225, allocations: 25.45 kB / 0.6223 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.3226, allocations: 4.641 kB / 0.6224 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3226, allocations: 5.875 kB / 0.6224 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.3281, allocations: 2.086 MB / 0.6244 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.3287, allocations: 204.4 kB / 0.6246 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.3289, allocations: 15.56 kB / 0.6246 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.3299, allocations: 106 kB / 0.6247 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3301, allocations: 61.89 kB / 0.6248 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.3301, allocations: 38.72 kB / 0.6248 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00102/0.3312, allocations: 0.7282 MB / 0.6255 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3312, allocations: 0 / 0.6255 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001237/0.3324, allocations: 368.1 kB / 0.6259 GB, free: 92.86 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.002561/0.335, allocations: 0.6949 MB / 0.6265 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.3387, allocations: 1.116 MB / 0.6276 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3387, allocations: 1.062 kB / 0.6276 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.3405, allocations: 0.5704 MB / 0.6282 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.3425, allocations: 403.9 kB / 0.6286 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/0.3479, allocations: 2.377 MB / 0.6309 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.3485, allocations: 0.5304 MB / 0.6314 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009747/0.3494, allocations: 229.6 kB / 0.6316 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.3498, allocations: 98.53 kB / 0.6317 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.3498, allocations: 5.375 kB / 0.6317 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.0268/0.3766, allocations: 18.89 MB / 0.6502 GB, free: 74.98 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.551448640064336]