Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.0007273/0.0007273, 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.0007313/0.0007313, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8551/0.8551, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.03499/0.03499, allocations: 9.123 MB / 269.2 MB, free: 4.449 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.0003539/0.0003539, allocations: 22.94 kB / 328.7 MB, free: 20.61 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.591/1.591, allocations: 275 MB / 0.6476 GB, free: 2.469 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9295 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.119e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001192/0.001213, allocations: 0.7933 MB / 0.9303 GB, free: 7.277 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.002011, allocations: 0.9184 MB / 0.9312 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.002092, allocations: 0 / 0.9312 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.00221, allocations: 11.81 kB / 0.9312 GB, free: 6.336 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.21e-05/0.002242, allocations: 17.44 kB / 0.9312 GB, free: 6.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.002413, allocations: 27.91 kB / 0.9312 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.002502, allocations: 71.78 kB / 0.9313 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.002596, allocations: 31.84 kB / 0.9313 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.002712, allocations: 48.75 kB / 0.9314 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.00277, allocations: 23.95 kB / 0.9314 GB, free: 6.121 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.002786, allocations: 8.5 kB / 0.9314 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.522e-05/0.002821, allocations: 8.719 kB / 0.9314 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.002834, allocations: 8 kB / 0.9314 GB, free: 6.098 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.002857, allocations: 25.19 kB / 0.9315 GB, free: 6.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002975, allocations: 83.67 kB / 0.9315 GB, free: 5.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002976, allocations: 4 kB / 0.9315 GB, free: 5.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002977, allocations: 0 / 0.9315 GB, free: 5.988 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002981, allocations: 1.562 kB / 0.9315 GB, free: 5.988 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003745/0.003355, allocations: 310 kB / 0.9318 GB, free: 5.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003389, allocations: 12.61 kB / 0.9319 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.003489, allocations: 21.44 kB / 0.9319 GB, free: 5.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.003665, allocations: 142.2 kB / 0.932 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-06/0.003672, allocations: 2.094 kB / 0.932 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.003684, allocations: 12.31 kB / 0.932 GB, free: 5.445 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.003793, allocations: 66.11 kB / 0.9321 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.0038, allocations: 192 / 0.9321 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.003809, allocations: 5.844 kB / 0.9321 GB, free: 5.371 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003814, allocations: 384 / 0.9321 GB, free: 5.371 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.003878, allocations: 39.91 kB / 0.9321 GB, free: 5.332 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.00418, allocations: 253.7 kB / 0.9324 GB, free: 5.055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.004273, allocations: 48.36 kB / 0.9324 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.004305, allocations: 24.94 kB / 0.9324 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.00432, allocations: 0 / 0.9324 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004339, allocations: 30.56 kB / 0.9325 GB, free: 4.934 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.00434, allocations: 2 kB / 0.9325 GB, free: 4.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001715/0.004511, allocations: 77.66 kB / 0.9326 GB, free: 4.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.004532, allocations: 55.41 kB / 0.9326 GB, free: 4.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.004612, allocations: 130.8 kB / 0.9327 GB, free: 4.648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.004623, allocations: 27.77 kB / 0.9328 GB, free: 4.617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.004668, allocations: 104.1 kB / 0.9329 GB, free: 4.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.00468, allocations: 7.891 kB / 0.9329 GB, free: 4.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.004708, allocations: 21.7 kB / 0.9329 GB, free: 4.477 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.004778, allocations: 314.8 kB / 0.9332 GB, free: 4.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.004808, allocations: 17.36 kB / 0.9332 GB, free: 4.145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.004833, allocations: 19.98 kB / 0.9332 GB, free: 4.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.004881, allocations: 28.78 kB / 0.9332 GB, free: 4.094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004883, allocations: 1.188 kB / 0.9332 GB, free: 4.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.092e-05/0.004964, allocations: 69.58 kB / 0.9333 GB, free: 4.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004976, allocations: 7.719 kB / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.00498, allocations: 0 / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.00499, allocations: 0 / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.005034, allocations: 11.98 kB / 0.9333 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.005042, allocations: 0 / 0.9333 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.005078, allocations: 15.98 kB / 0.9333 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.005083, allocations: 0 / 0.9333 GB, free: 3.988 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.876e-05/0.005142, allocations: 113.8 kB / 0.9335 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.005158, allocations: 13.33 kB / 0.9335 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.005179, allocations: 12.33 kB / 0.9335 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005182, allocations: 0 / 0.9335 GB, free: 3.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005183, allocations: 7.938 kB / 0.9335 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.005191, allocations: 6.828 kB / 0.9335 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.005203, allocations: 0 / 0.9335 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.00525, allocations: 15.92 kB / 0.9335 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.00529, allocations: 11.98 kB / 0.9335 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.431e-05/0.005384, allocations: 140.8 kB / 0.9337 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001136/0.005498, allocations: 231.2 kB / 0.9339 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.861e-05/0.005547, allocations: 27.95 kB / 0.9339 GB, free: 3.391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.005588, allocations: 101 kB / 0.934 GB, free: 3.293 MB / 0.698 GB Notification: Performance of Backend: time 3.01e-07/0.005589, allocations: 0 / 0.934 GB, free: 3.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.005866, allocations: 96.11 kB / 0.9341 GB, free: 3.191 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003835/0.00625, allocations: 0.6158 MB / 0.9347 GB, free: 2.527 MB / 0.698 GB Notification: Performance of Templates: time 0.002291/0.008541, allocations: 1.069 MB / 0.9357 GB, free: 1.488 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.738742635585368] Failed to read output from testmodel.py, exit status != 0: 0.012422475963830948 0.020416332000000002 0.015938524000000003 Calling exit ...