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.00136/0.00136, allocations: 114.5 kB / 17.13 MB, free: 6.027 MB / 14.72 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.001521/0.001521, allocations: 207.2 kB / 20.1 MB, free: 3.074 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.044/1.044, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 74.42 kB / 0.6366 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2149, allocations: 89.14 MB / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002643/0.2175, allocations: 0.8441 MB / 0.7245 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.219, allocations: 0.9229 MB / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.2191, allocations: 0 / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.2191, allocations: 11.86 kB / 0.7254 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2193, allocations: 23.75 kB / 0.7254 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.2195, allocations: 35.94 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.2197, allocations: 119.6 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2198, allocations: 21.09 kB / 0.7256 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2201, allocations: 55.83 kB / 0.7257 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2202, allocations: 59.75 kB / 0.7257 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2202, allocations: 8 kB / 0.7257 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.2202, allocations: 19.98 kB / 0.7257 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.2203, allocations: 27.86 kB / 0.7258 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.2203, allocations: 51.73 kB / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2206, allocations: 131.3 kB / 0.7259 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2206, allocations: 0 / 0.7259 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2206, allocations: 0 / 0.7259 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2206, allocations: 0 / 0.7259 GB, free: 1.152 MB / 0.5294 GB 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.0008265/0.2214, allocations: 442.8 kB / 0.7264 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2215, allocations: 12.03 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.2217, allocations: 32.86 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.2223, allocations: 255.3 kB / 0.7267 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2223, allocations: 8.375 kB / 0.7267 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.2223, allocations: 8.312 kB / 0.7267 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.2226, allocations: 120.7 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2226, allocations: 7.875 kB / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2226, allocations: 0 / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2226, allocations: 3.984 kB / 0.7268 GB, free: 184 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.2229, allocations: 83.86 kB / 0.7269 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.2236, allocations: 0.4932 MB / 0.7274 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.2239, allocations: 107.8 kB / 0.7275 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.2241, allocations: 54.55 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2241, allocations: 4 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2241, allocations: 38.55 kB / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2241, allocations: 0 / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006622/0.2248, allocations: 153.5 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2249, allocations: 115 kB / 0.7278 GB, free: 15.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2251, allocations: 142.2 kB / 0.7279 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2251, allocations: 33.7 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.2252, allocations: 108.2 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.2253, allocations: 23.84 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.2253, allocations: 25.72 kB / 0.7281 GB, free: 14.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.2255, allocations: 326.8 kB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.2257, allocations: 47.95 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.2259, allocations: 85.11 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2262, allocations: 94.45 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2262, allocations: 0 / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003726/0.2266, allocations: 133.5 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2266, allocations: 4 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2266, allocations: 4 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2267, allocations: 0 / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2268, allocations: 23.97 kB / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.2268, allocations: 4 kB / 0.7288 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.227, allocations: 23.88 kB / 0.7288 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.227, allocations: 7.938 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB 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 0.0001476/0.2271, allocations: 125.7 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.2272, allocations: 16.27 kB / 0.729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.2275, allocations: 93.88 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2275, allocations: 4 kB / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2275, allocations: 0 / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2275, allocations: 0 / 0.7291 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.2279, allocations: 205.6 kB / 0.7293 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2279, allocations: 0 / 0.7293 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.228, allocations: 23.92 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.228, allocations: 3.984 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.228, allocations: 3.938 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.228, allocations: 8 kB / 0.7293 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.228, allocations: 0 / 0.7293 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.2285, allocations: 361.9 kB / 0.7297 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.2286, allocations: 96.98 kB / 0.7298 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.2287, allocations: 12.06 kB / 0.7298 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2289, allocations: 11.98 kB / 0.7298 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.229, allocations: 27.89 kB / 0.7298 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.229, allocations: 4 kB / 0.7298 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.2291, allocations: 118.4 kB / 0.7299 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 0 / 0.7299 GB, free: 12.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003119/0.2294, allocations: 19.95 kB / 0.7299 GB, free: 12.66 MB / 0.545 GB 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.0001938/0.2296, allocations: 107.2 kB / 0.73 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.23, allocations: 95.86 kB / 0.7301 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.23, allocations: 0 / 0.7301 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2302, allocations: 51.97 kB / 0.7302 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.2306, allocations: 11.98 kB / 0.7302 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.2311, allocations: 203.3 kB / 0.7304 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.2315, allocations: 0.7002 MB / 0.7311 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.572e-05/0.2315, allocations: 20.64 kB / 0.7311 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.2316, allocations: 19.42 kB / 0.7311 GB, free: 11.38 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2316, allocations: 0 / 0.7311 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Templates: time 0.004734/0.2363, allocations: 1.362 MB / 0.7324 GB, free: 10.03 MB / 0.545 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.199731878004968] Failed to read output from testmodel.py, exit status != 0: 0.24421073007397354 0.257522009 0.034198564 Calling exit ...