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.0007315/0.0007315, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.0007511/0.0007511, allocations: 165.7 kB / 23.33 MB, free: 1.188 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.8357/0.8357, allocations: 177.1 MB / 203.6 MB, free: 5.715 MB / 186.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.03384/0.03384, allocations: 9.122 MB / 269.2 MB, free: 4.441 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0003672/0.0003672, allocations: 23.94 kB / 328.7 MB, free: 20.6 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.571/1.571, allocations: 275 MB / 0.6476 GB, free: 2.484 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.9295 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.94e-05, allocations: 5.344 kB / 0.9295 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001759/0.001789, allocations: 0.8056 MB / 0.9303 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.002579, allocations: 0.921 MB / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.002627, allocations: 0.5 kB / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.002657, allocations: 12.77 kB / 0.9312 GB, free: 6.301 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.002748, allocations: 20.81 kB / 0.9313 GB, free: 6.281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.002944, allocations: 39.88 kB / 0.9313 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003048, allocations: 120.8 kB / 0.9314 GB, free: 6.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.003138, allocations: 17.28 kB / 0.9314 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.003294, allocations: 75.81 kB / 0.9315 GB, free: 6.035 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.003356, allocations: 46.34 kB / 0.9315 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.003376, allocations: 8 kB / 0.9315 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.003418, allocations: 19.98 kB / 0.9316 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.003436, allocations: 19.92 kB / 0.9316 GB, free: 5.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.003468, allocations: 35.91 kB / 0.9316 GB, free: 5.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.003615, allocations: 135.5 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003617, allocations: 1.094 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003618, allocations: 0 / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.003622, allocations: 0 / 0.9317 GB, free: 5.777 MB / 0.698 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.0004498/0.004071, allocations: 375.6 kB / 0.9321 GB, free: 5.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.00411, allocations: 15.98 kB / 0.9321 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.004248, allocations: 30.64 kB / 0.9322 GB, free: 5.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.004513, allocations: 183.1 kB / 0.9323 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.00453, allocations: 4.938 kB / 0.9323 GB, free: 5.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.004548, allocations: 14.12 kB / 0.9323 GB, free: 5.117 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.004722, allocations: 116.7 kB / 0.9325 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.00473, allocations: 192 / 0.9325 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.004741, allocations: 4.359 kB / 0.9325 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004747, allocations: 9.531 kB / 0.9325 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.004885, allocations: 78.52 kB / 0.9325 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.005235, allocations: 436.8 kB / 0.933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.005374, allocations: 108.5 kB / 0.9331 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.005451, allocations: 64.14 kB / 0.9331 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.005472, allocations: 3.938 kB / 0.9331 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.00549, allocations: 34.56 kB / 0.9332 GB, free: 4.188 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.005491, allocations: 0 / 0.9332 GB, free: 4.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003234/0.005814, allocations: 164.6 kB / 0.9333 GB, free: 4.023 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.005846, allocations: 106.8 kB / 0.9334 GB, free: 3.895 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.005926, allocations: 142.5 kB / 0.9336 GB, free: 3.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.005941, allocations: 37.69 kB / 0.9336 GB, free: 3.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.005988, allocations: 97.66 kB / 0.9337 GB, free: 3.605 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.006015, allocations: 31.73 kB / 0.9337 GB, free: 3.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.006049, allocations: 33.64 kB / 0.9337 GB, free: 3.535 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.006122, allocations: 324.4 kB / 0.9341 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.0062, allocations: 43.91 kB / 0.9341 GB, free: 3.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.006311, allocations: 158.9 kB / 0.9342 GB, free: 2.977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.006445, allocations: 95.83 kB / 0.9343 GB, free: 2.875 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006447, allocations: 3.062 kB / 0.9343 GB, free: 2.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001835/0.00663, allocations: 141.4 kB / 0.9345 GB, free: 2.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006642, allocations: 8 kB / 0.9345 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006647, allocations: 3.984 kB / 0.9345 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006657, allocations: 0 / 0.9345 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.006728, allocations: 24.23 kB / 0.9345 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.006735, allocations: 0 / 0.9345 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.006791, allocations: 23.92 kB / 0.9345 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006798, allocations: 4 kB / 0.9345 GB, free: 2.668 MB / 0.698 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.039e-05/0.006859, allocations: 121.8 kB / 0.9347 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.006893, allocations: 16.16 kB / 0.9347 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.007027, allocations: 93.97 kB / 0.9348 GB, free: 2.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00703, allocations: 4 kB / 0.9348 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.007031, allocations: 0 / 0.9348 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.007039, allocations: 7.953 kB / 0.9348 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.007057, allocations: 8 kB / 0.9348 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.007155, allocations: 15.97 kB / 0.9348 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.007207, allocations: 23.95 kB / 0.9348 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002256/0.007433, allocations: 367.4 kB / 0.9352 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002307/0.007664, allocations: 441.2 kB / 0.9356 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.467e-05/0.007748, allocations: 47.95 kB / 0.9356 GB, free: 1.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.007792, allocations: 116.1 kB / 0.9357 GB, free: 1.387 MB / 0.698 GB Notification: Performance of Backend: time 3.4e-07/0.007792, allocations: 0 / 0.9357 GB, free: 1.387 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.008215, allocations: 136 kB / 0.9359 GB, free: 1.246 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003994/0.008615, allocations: 0.6402 MB / 0.9365 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of Templates: time 0.003116/0.01173, allocations: 1.694 MB / 0.9382 GB, free: 14.91 MB / 0.7137 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: 4.709506389684975] Failed to read output from testmodel.py, exit status != 0: 0.015624715015292168 0.023543882000000002 0.018154721000000002 Calling exit ...