Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.000839/0.000839, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.000854/0.000854, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.8524/0.8524, allocations: 177.2 MB / 205.6 MB, free: 4 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.906/1.906, allocations: 389.6 MB / 0.6364 GB, free: 13.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7756 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.505e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01598/0.016, allocations: 13.47 MB / 0.7888 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007809/0.02381, allocations: 5.042 MB / 0.7937 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007634/0.02457, allocations: 91.19 kB / 0.7938 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.02545, allocations: 0.6095 MB / 0.7944 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.02729, allocations: 1.561 MB / 0.7959 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.02918, allocations: 1.474 MB / 0.7973 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.03158, allocations: 3.763 MB / 0.801 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.03232, allocations: 0.9432 MB / 0.8019 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.03364, allocations: 1.808 MB / 0.8037 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.03448, allocations: 0.9696 MB / 0.8046 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.0346, allocations: 108 kB / 0.8048 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.03512, allocations: 327.5 kB / 0.8051 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.3401/0.3752, allocations: 409.2 kB / 0.8055 GB, free: 21.64 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.3764, allocations: 0.5645 MB / 0.806 GB, free: 21.64 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3781, allocations: 1.408 MB / 0.8074 GB, free: 21.56 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3781, allocations: 0 / 0.8074 GB, free: 21.56 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3781, allocations: 0 / 0.8074 GB, free: 21.56 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.3782, allocations: 1.062 kB / 0.8074 GB, free: 21.56 MB / 0.7605 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.002301/0.3805, allocations: 1.954 MB / 0.8093 GB, free: 20.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3805, allocations: 9.969 kB / 0.8093 GB, free: 20.55 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.3818, allocations: 0.5016 MB / 0.8098 GB, free: 20.55 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.383, allocations: 1.015 MB / 0.8108 GB, free: 20.13 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.3831, allocations: 84.73 kB / 0.8109 GB, free: 20.13 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.3832, allocations: 108.7 kB / 0.811 GB, free: 20.13 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3844, allocations: 1.116 MB / 0.8121 GB, free: 19.73 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.3844, allocations: 6.562 kB / 0.8121 GB, free: 19.73 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.3845, allocations: 49.98 kB / 0.8121 GB, free: 19.73 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.3845, allocations: 28.75 kB / 0.8121 GB, free: 19.73 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.3851, allocations: 421.1 kB / 0.8125 GB, free: 19.71 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.3887, allocations: 5.347 MB / 0.8178 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.3896, allocations: 495 kB / 0.8182 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3898, allocations: 166.3 kB / 0.8184 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.39, allocations: 86.83 kB / 0.8185 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.3904, allocations: 337.5 kB / 0.8188 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.304e-06/0.3904, allocations: 4.172 kB / 0.8188 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.0008151/0.3912, allocations: 0.5475 MB / 0.8193 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.3913, allocations: 64.94 kB / 0.8194 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.3921, allocations: 1.125 MB / 0.8205 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.3922, allocations: 41.92 kB / 0.8205 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.3925, allocations: 0.5768 MB / 0.8211 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.3926, allocations: 308.8 kB / 0.8214 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.3928, allocations: 217.6 kB / 0.8216 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.3929, allocations: 356.4 kB / 0.8219 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3931, allocations: 135.3 kB / 0.8221 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.3935, allocations: 0.7311 MB / 0.8228 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.3941, allocations: 0.7274 MB / 0.8235 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3941, allocations: 2.875 kB / 0.8235 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0008896/0.395, allocations: 0.7054 MB / 0.8242 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.395, allocations: 9.688 kB / 0.8242 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.395, allocations: 11.75 kB / 0.8242 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.395, allocations: 17.28 kB / 0.8242 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.3957, allocations: 311.2 kB / 0.8245 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.3957, allocations: 23.23 kB / 0.8245 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.3962, allocations: 163 kB / 0.8247 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.3963, allocations: 52.91 kB / 0.8247 GB, free: 13.38 MB / 0.7605 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.0002148/0.3965, allocations: 198.7 kB / 0.8249 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3966, allocations: 115.8 kB / 0.825 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3978, allocations: 0.9643 MB / 0.826 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.3979, allocations: 16.88 kB / 0.826 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3979, allocations: 0 / 0.826 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3979, allocations: 4.922 kB / 0.826 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3997, allocations: 1.749 MB / 0.8277 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3997, allocations: 2.25 kB / 0.8277 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.4002, allocations: 198.2 kB / 0.8279 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4002, allocations: 5.312 kB / 0.8279 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.4002, allocations: 34.64 kB / 0.8279 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4002, allocations: 6.828 kB / 0.828 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4002, allocations: 2.625 kB / 0.828 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4013, allocations: 1.004 MB / 0.8289 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4016, allocations: 222.6 kB / 0.8291 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4017, allocations: 24.84 kB / 0.8292 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.402, allocations: 63.53 kB / 0.8292 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4022, allocations: 79.19 kB / 0.8293 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.4022, allocations: 39.31 kB / 0.8293 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000493/0.4027, allocations: 0.5665 MB / 0.8299 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 2.531 kB / 0.8299 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007827/0.4035, allocations: 436 kB / 0.8303 GB, free: 11.98 MB / 0.7605 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001256/0.4048, allocations: 0.596 MB / 0.8309 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.4055, allocations: 0.5907 MB / 0.8315 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/0.4055, allocations: 16.41 kB / 0.8315 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.4059, allocations: 320.6 kB / 0.8318 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.4072, allocations: 0.606 MB / 0.8324 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.4101, allocations: 2.531 MB / 0.8349 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.4107, allocations: 0.6908 MB / 0.8355 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.4117, allocations: 0.5559 MB / 0.8361 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.4117, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.0179/0.4296, allocations: 23.72 MB / 0.8592 GB, free: 11.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.513681462965906]