Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008319/0.0008319, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008419/0.0008419, allocations: 215.7 kB / 23.01 MB, free: 3.098 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 0.8977/0.8977, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03797/0.03797, allocations: 12.18 MB / 325.4 MB, free: 3.441 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004604/0.0004604, allocations: 28.86 kB / 384.9 MB, free: 45.76 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.622/1.622, allocations: 353.8 MB / 0.7794 GB, free: 13.05 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00235/0.00235, allocations: 128.7 kB / 1.061 GB, free: 9.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2241, allocations: 134.9 MB / 1.193 GB, free: 2.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001445/0.2255, allocations: 0.8513 MB / 1.194 GB, free: 1.719 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000766/0.2263, allocations: 0.9288 MB / 1.195 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.2263, allocations: 0 / 1.195 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.2263, allocations: 11.81 kB / 1.195 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.006e-05/0.2264, allocations: 15.81 kB / 1.195 GB, free: 0.75 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2266, allocations: 51.86 kB / 1.195 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2268, allocations: 111.7 kB / 1.195 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.2269, allocations: 21.28 kB / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.227, allocations: 59.78 kB / 1.195 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.2271, allocations: 59.75 kB / 1.195 GB, free: 460 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2271, allocations: 8 kB / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.15e-05/0.2271, allocations: 12 kB / 1.195 GB, free: 440 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.2272, allocations: 27.91 kB / 1.195 GB, free: 412 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2272, allocations: 51.72 kB / 1.195 GB, free: 360 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.2274, allocations: 119.4 kB / 1.195 GB, free: 240 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2274, allocations: 4 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2274, allocations: 0 / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2274, allocations: 0 / 1.195 GB, free: 236 kB / 0.823 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.0005115/0.2279, allocations: 373.7 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2279, allocations: 11.98 kB / 1.196 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2281, allocations: 36.83 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.2284, allocations: 195 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2284, allocations: 4.375 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2284, allocations: 8.375 kB / 1.196 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2286, allocations: 119.1 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2286, allocations: 11.86 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2286, allocations: 0 / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2286, allocations: 0 / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.2288, allocations: 71.94 kB / 1.196 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.2292, allocations: 472.1 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.2293, allocations: 119.8 kB / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.2294, allocations: 46.61 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2294, allocations: 4 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2294, allocations: 46.56 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.2294, allocations: 0 / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0003381/0.2298, allocations: 153.5 kB / 1.197 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2298, allocations: 102.8 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.2299, allocations: 161.4 kB / 1.197 GB, free: 14.13 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2299, allocations: 33.7 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.23, allocations: 108.3 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.23, allocations: 27.78 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.23, allocations: 25.72 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.2301, allocations: 326.8 kB / 1.198 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.2302, allocations: 43.95 kB / 1.198 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.2303, allocations: 85.06 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2304, allocations: 94.67 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2304, allocations: 8 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000192/0.2306, allocations: 141.5 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2306, allocations: 4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2307, allocations: 4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2307, allocations: 0 / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.2307, allocations: 23.91 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2307, allocations: 4 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.2308, allocations: 15.98 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2308, allocations: 8 kB / 1.198 GB, free: 13.14 MB / 0.8387 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 6.829e-05/0.2309, allocations: 117.8 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.2309, allocations: 15.91 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.2311, allocations: 89.92 kB / 1.198 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2311, allocations: 8 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2311, allocations: 0 / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2311, allocations: 3.984 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2313, allocations: 168.6 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2313, allocations: 4 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.2313, allocations: 15.98 kB / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2313, allocations: 0 / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2313, allocations: 3.984 kB / 1.198 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.2313, allocations: 7.938 kB / 1.198 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2313, allocations: 0 / 1.198 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2316, allocations: 377.8 kB / 1.199 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.2316, allocations: 11.89 kB / 1.199 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2316, allocations: 11.98 kB / 1.199 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2317, allocations: 15.98 kB / 1.199 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.2317, allocations: 23.95 kB / 1.199 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2317, allocations: 4 kB / 1.199 GB, free: 12.2 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.2318, allocations: 119.9 kB / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2318, allocations: 0 / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002065/0.232, allocations: 16 kB / 1.199 GB, free: 12.06 MB / 0.8387 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 8.928e-05/0.2321, allocations: 111.2 kB / 1.199 GB, free: 11.95 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2323, allocations: 91.86 kB / 1.199 GB, free: 11.86 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.2323, allocations: 0 / 1.199 GB, free: 11.86 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.2324, allocations: 47.95 kB / 1.199 GB, free: 11.81 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2327, allocations: 19.62 kB / 1.199 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.233, allocations: 241 kB / 1.2 GB, free: 11.52 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2333, allocations: 0.6963 MB / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2334, allocations: 19.44 kB / 1.2 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of SimCode: time 6.81e-07/0.2334, allocations: 7.938 kB / 1.2 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of Templates: time 0.002009/0.2354, allocations: 1.501 MB / 1.202 GB, free: 9.266 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.651471340097487] Failed to read output from testmodel.py, exit status != 0: 0.24175739288330078 0.24887244300000003 0.019794433 Calling exit ...