Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0008432/0.0008432, allocations: 72.95 kB / 20.72 MB, free: 3.762 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.0009469/0.0009469, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.093/1.093, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.6438/0.6438, allocations: 115 MB / 376 MB, free: 7.461 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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 428.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.888e-05, allocations: 2.312 kB / 428.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002359/0.002387, allocations: 0.8663 MB / 429.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003829, allocations: 0.9403 MB / 430.6 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.003895, allocations: 4 kB / 430.6 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.003934, allocations: 11.88 kB / 430.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.004051, allocations: 19.69 kB / 430.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.0043, allocations: 51.81 kB / 430.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.004455, allocations: 119.6 kB / 430.8 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.00456, allocations: 21.95 kB / 430.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.004835, allocations: 87.73 kB / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.004926, allocations: 35.89 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.00495, allocations: 8 kB / 431 MB, free: 488 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.005018, allocations: 8 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.005041, allocations: 15.92 kB / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.005082, allocations: 27.91 kB / 431 MB, free: 436 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.005251, allocations: 79.61 kB / 431.1 MB, free: 356 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.005255, allocations: 3.938 kB / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005257, allocations: 0 / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.005261, allocations: 0 / 431.1 MB, free: 352 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004052/0.005666, allocations: 296.4 kB / 431.4 MB, free: 28 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005704, allocations: 8.031 kB / 431.4 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.005905, allocations: 28.91 kB / 431.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.006101, allocations: 161.5 kB / 431.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.00612, allocations: 4.375 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.006133, allocations: 8.375 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.006304, allocations: 101.4 kB / 431.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006315, allocations: 192 / 431.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.006327, allocations: 4.375 kB / 431.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.006335, allocations: 8.359 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.006386, allocations: 15.94 kB / 431.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.006785, allocations: 356.5 kB / 432.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.006902, allocations: 75.72 kB / 432.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.462e-05/0.006936, allocations: 22.64 kB / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.006957, allocations: 4 kB / 432.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.006991, allocations: 38.5 kB / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.006993, allocations: 0 / 432.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002256/0.007218, allocations: 77.75 kB / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.007273, allocations: 114.8 kB / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.007377, allocations: 138.7 kB / 432.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.007402, allocations: 33.7 kB / 432.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.007451, allocations: 92.11 kB / 432.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.007489, allocations: 35.7 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.007541, allocations: 25.7 kB / 432.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.007649, allocations: 322.8 kB / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.00768, allocations: 15.92 kB / 433.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.00772, allocations: 30.56 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.007788, allocations: 42.58 kB / 433.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00779, allocations: 0 / 433.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001285/0.007919, allocations: 77.53 kB / 433.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.007939, allocations: 7.938 kB / 433.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007945, allocations: 4 kB / 433.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.007959, allocations: 0 / 433.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.008047, allocations: 8 kB / 433.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.008052, allocations: 4 kB / 433.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.008106, allocations: 7.938 kB / 433.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.008118, allocations: 12 kB / 433.3 MB, free: 13.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.039e-05/0.008208, allocations: 113.8 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.008275, allocations: 15.92 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.008398, allocations: 57.97 kB / 433.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008402, allocations: 4 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008405, allocations: 0 / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.008412, allocations: 3.984 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.008671, allocations: 85.86 kB / 433.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.008673, allocations: 0 / 433.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.008733, allocations: 8 kB / 433.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.008738, allocations: 8 kB / 433.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008748, allocations: 4.047 kB / 433.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.008752, allocations: 4 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.008757, allocations: 11.88 kB / 433.6 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.008963, allocations: 314.1 kB / 433.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.008981, allocations: 16.17 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.009005, allocations: 4 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.009157, allocations: 4 kB / 433.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.009229, allocations: 31.88 kB / 433.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.009236, allocations: 4 kB / 433.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.318e-05/0.009279, allocations: 37.5 kB / 434 MB, free: 13.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009279, allocations: 0 / 434 MB, free: 13.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.009588, allocations: 12 kB / 434 MB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.0001366/0.009724, allocations: 88.34 kB / 434.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.009868, allocations: 44.77 kB / 434.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.009873, allocations: 0 / 434.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.009928, allocations: 36.78 kB / 434.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.01032, allocations: 15.94 kB / 434.2 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.01073, allocations: 202.7 kB / 434.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.01079, allocations: 67.2 kB / 434.4 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.764e-05/0.01087, allocations: 16.77 kB / 434.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.01096, allocations: 63.38 kB / 434.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01096, allocations: 0 / 434.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of Templates: time 0.004485/0.01544, allocations: 1.211 MB / 435.7 MB, free: 11.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5452521019615233]