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.001063/0.001063, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004037/0.0051, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.00118/0.00118, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002677/0.003857, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0959/1.116, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6948/0.6948, allocations: 119.1 MB / 363.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07454/0.7694, allocations: 37.86 MB / 400.9 MB, free: 13.71 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.803e-06/1.803e-06, allocations: 0 / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.427e-05, allocations: 2.312 kB / 402.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001525/0.00154, allocations: 0.8662 MB / 403.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.002526, allocations: 0.952 MB / 404.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.002572, allocations: 4 kB / 404.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.0026, allocations: 7.875 kB / 404.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.002657, allocations: 19.69 kB / 404.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.002786, allocations: 51.86 kB / 404.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002907, allocations: 107.7 kB / 404.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.002994, allocations: 21.94 kB / 404.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.003182, allocations: 103.7 kB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.003253, allocations: 23.92 kB / 404.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.003271, allocations: 4 kB / 404.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.003326, allocations: 11.98 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.003343, allocations: 15.94 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.003372, allocations: 15.94 kB / 404.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.003547, allocations: 75.58 kB / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.003561, allocations: 0 / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003562, allocations: 0 / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.003578, allocations: 0 / 404.6 MB, free: 10.06 MB / 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.0004507/0.004029, allocations: 332 kB / 404.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.004061, allocations: 8.031 kB / 404.9 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.004237, allocations: 94.03 kB / 405 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004402, allocations: 161.5 kB / 405.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.004418, allocations: 4.375 kB / 405.2 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.004431, allocations: 12.31 kB / 405.2 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.004565, allocations: 105.5 kB / 405.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004573, allocations: 192 / 405.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.004583, allocations: 4.375 kB / 405.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004589, allocations: 4.375 kB / 405.3 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.004636, allocations: 23.86 kB / 405.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.004926, allocations: 344.5 kB / 405.6 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.00502, allocations: 71.84 kB / 405.7 MB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.005051, allocations: 38.58 kB / 405.7 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.005071, allocations: 0 / 405.7 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.005094, allocations: 38.55 kB / 405.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.005095, allocations: 0 / 405.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001717/0.005267, allocations: 73.55 kB / 405.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.005313, allocations: 110.8 kB / 406 MB, free: 8.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.005398, allocations: 146.5 kB / 406.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.005418, allocations: 33.7 kB / 406.1 MB, free: 8.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.005457, allocations: 104.3 kB / 406.2 MB, free: 8.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.005487, allocations: 27.78 kB / 406.3 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.005524, allocations: 25.7 kB / 406.3 MB, free: 8.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.005673, allocations: 326.8 kB / 406.6 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.005693, allocations: 8 kB / 406.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.005726, allocations: 34.5 kB / 406.7 MB, free: 7.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.005784, allocations: 50.64 kB / 406.7 MB, free: 7.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.005786, allocations: 0 / 406.7 MB, free: 7.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.798e-05/0.005874, allocations: 69.61 kB / 406.8 MB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005887, allocations: 11.94 kB / 406.8 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005893, allocations: 4 kB / 406.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.005901, allocations: 0 / 406.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.005982, allocations: 11.98 kB / 406.8 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005987, allocations: 4 kB / 406.8 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.006031, allocations: 15.89 kB / 406.8 MB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006037, allocations: 0 / 406.8 MB, free: 7.559 MB / 394.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 6.954e-05/0.006106, allocations: 121.8 kB / 406.9 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.006156, allocations: 8 kB / 406.9 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.006234, allocations: 61.95 kB / 407 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.006237, allocations: 4 kB / 407 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.00624, allocations: 0 / 407 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006243, allocations: 0 / 407 MB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.006445, allocations: 85.86 kB / 407.1 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006447, allocations: 0 / 407.1 MB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.006489, allocations: 23.98 kB / 407.1 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.006501, allocations: 11.91 kB / 407.1 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.006503, allocations: 0 / 407.1 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.006513, allocations: 11.92 kB / 407.1 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.006515, allocations: 4 kB / 407.1 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.006516, allocations: 4 kB / 407.1 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.006655, allocations: 310 kB / 407.5 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.006675, allocations: 8 kB / 407.5 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.006794, allocations: 0 / 407.5 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.006851, allocations: 27.89 kB / 407.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.006859, allocations: 7.984 kB / 407.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.897e-05/0.006888, allocations: 32.83 kB / 407.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006888, allocations: 0 / 407.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.007142, allocations: 12 kB / 407.5 MB, free: 6.789 MB / 394.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 8.295e-05/0.007225, allocations: 88.36 kB / 407.6 MB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.007322, allocations: 48.7 kB / 407.7 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.007326, allocations: 4 kB / 407.7 MB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.007363, allocations: 21.12 kB / 407.7 MB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.007677, allocations: 19.98 kB / 407.7 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.007978, allocations: 214.8 kB / 407.9 MB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.008033, allocations: 67.2 kB / 408 MB, free: 6.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.008092, allocations: 16.72 kB / 408 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.008165, allocations: 71.36 kB / 408.1 MB, free: 6.172 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008165, allocations: 0 / 408.1 MB, free: 6.172 MB / 394.7 MB Notification: Performance of Templates: time 0.003231/0.0114, allocations: 1.226 MB / 409.3 MB, free: 4.949 MB / 394.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3022343032062054]