Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.0007877/0.0007877, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.0007619/0.0007619, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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.8899/0.8899, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5426/0.5426, allocations: 114 MB / 374.7 MB, free: 8.742 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5555 GB, free: 1.148 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.087e-05, allocations: 3.266 kB / 0.5555 GB, free: 1.145 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001309/0.001329, allocations: 0.7882 MB / 0.5563 GB, free: 368 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.002307, allocations: 0.9132 MB / 0.5571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.00238, allocations: 7.938 kB / 0.5571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.002478, allocations: 15.81 kB / 0.5572 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.002506, allocations: 11.88 kB / 0.5572 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.002667, allocations: 27.97 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.002761, allocations: 75.77 kB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.002856, allocations: 19.98 kB / 0.5573 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.002974, allocations: 51.77 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.003028, allocations: 27.91 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003043, allocations: 4 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.003077, allocations: 8 kB / 0.5574 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.003089, allocations: 15.92 kB / 0.5574 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.003113, allocations: 23.92 kB / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003229, allocations: 75.73 kB / 0.5575 GB, free: 15.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003231, allocations: 0 / 0.5575 GB, free: 15.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003232, allocations: 4 kB / 0.5575 GB, free: 15.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.003236, allocations: 0 / 0.5575 GB, free: 15.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003881/0.003624, allocations: 314.7 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.003656, allocations: 8.625 kB / 0.5578 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.003765, allocations: 24.88 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.003928, allocations: 149.5 kB / 0.558 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.003937, allocations: 4.375 kB / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.003946, allocations: 384 / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.004048, allocations: 62.23 kB / 0.558 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.004054, allocations: 192 / 0.558 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004062, allocations: 8.312 kB / 0.558 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004066, allocations: 384 / 0.558 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.004132, allocations: 35.91 kB / 0.5581 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004432, allocations: 252.4 kB / 0.5583 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.203e-05/0.004524, allocations: 54.53 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.004556, allocations: 24.94 kB / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.004568, allocations: 0 / 0.5584 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.004586, allocations: 30.56 kB / 0.5584 GB, free: 14.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.004587, allocations: 0 / 0.5584 GB, free: 14.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001731/0.00476, allocations: 73.67 kB / 0.5585 GB, free: 13.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.00479, allocations: 51.41 kB / 0.5585 GB, free: 13.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.004873, allocations: 135.7 kB / 0.5587 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.004887, allocations: 33.7 kB / 0.5587 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.004934, allocations: 100.1 kB / 0.5588 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.004949, allocations: 7.891 kB / 0.5588 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.004988, allocations: 21.7 kB / 0.5588 GB, free: 13.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005092, allocations: 318.8 kB / 0.5591 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.005128, allocations: 15.98 kB / 0.5591 GB, free: 13.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.005155, allocations: 19.98 kB / 0.5592 GB, free: 13.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.857e-05/0.005203, allocations: 24.84 kB / 0.5592 GB, free: 13.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005205, allocations: 0 / 0.5592 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.91e-05/0.005284, allocations: 69.86 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005294, allocations: 4 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.005297, allocations: 0 / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005308, allocations: 4.031 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.005352, allocations: 11.92 kB / 0.5593 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.005356, allocations: 0 / 0.5593 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.005394, allocations: 19.94 kB / 0.5593 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.005399, allocations: 0 / 0.5593 GB, free: 13.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.705e-05/0.005456, allocations: 113.8 kB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.005471, allocations: 7.938 kB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.005491, allocations: 12.33 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005493, allocations: 4 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.005497, allocations: 0 / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005499, allocations: 0 / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.005605, allocations: 129.3 kB / 0.5595 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.005607, allocations: 3.984 kB / 0.5596 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.005625, allocations: 11.94 kB / 0.5596 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005626, allocations: 0 / 0.5596 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005633, allocations: 0 / 0.5596 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005633, allocations: 3.938 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005634, allocations: 3.938 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.833e-05/0.005732, allocations: 151.5 kB / 0.5597 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.005744, allocations: 15.89 kB / 0.5597 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.005757, allocations: 0 / 0.5597 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.005804, allocations: 11.98 kB / 0.5597 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.00584, allocations: 15.97 kB / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.005843, allocations: 0 / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.00589, allocations: 109.4 kB / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00589, allocations: 0 / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.006036, allocations: 11.95 kB / 0.5599 GB, free: 12.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 6.983e-05/0.006106, allocations: 95.25 kB / 0.56 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.303e-05/0.006199, allocations: 35.97 kB / 0.56 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.0062, allocations: 0 / 0.56 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.006229, allocations: 19.94 kB / 0.56 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.006418, allocations: 7.984 kB / 0.56 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.006729, allocations: 198.3 kB / 0.5602 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.006774, allocations: 71.33 kB / 0.5603 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.006804, allocations: 12.5 kB / 0.5603 GB, free: 11.91 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.006805, allocations: 0 / 0.5603 GB, free: 11.91 MB / 490.7 MB Notification: Performance of Templates: time 0.001585/0.00839, allocations: 1.005 MB / 0.5613 GB, free: 10.92 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6728672962635756] Failed to read output from testmodel.py, exit status != 0: 0.01304480992257595 0.020792228000000003 0.015985533 Calling exit ...