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/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.05091/0.05091, allocations: 9.127 MB / 28.99 MB, free: 340 kB / 18.57 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/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.0009867/0.0009867, allocations: 99.02 kB / 35.33 MB, free: 0.9336 MB / 24.77 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.001439/0.001439, allocations: 165.6 kB / 38.73 MB, free: 2.402 MB / 24.77 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.072/1.072, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004165/0.004165, allocations: 0.8295 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.717/1.717, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 2.014e-06/2.014e-06, allocations: 3.938 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.717e-05, allocations: 6.25 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001342/0.001359, allocations: 0.8472 MB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.002248, allocations: 0.9364 MB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.002327, allocations: 7.938 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.002438, allocations: 7.875 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.002473, allocations: 19.86 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.002619, allocations: 23.92 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.002711, allocations: 79.7 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.002798, allocations: 23.97 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.002917, allocations: 51.83 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.002971, allocations: 19.92 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002985, allocations: 8 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.003032, allocations: 8 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.003045, allocations: 7.984 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.003067, allocations: 23.92 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.003165, allocations: 51.75 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003167, allocations: 0 / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003167, allocations: 0 / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.003171, allocations: 0 / 0.64 GB, free: 11.88 MB / 0.6043 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.0002857/0.003456, allocations: 284.6 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.003487, allocations: 19.92 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.003588, allocations: 16.92 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.003721, allocations: 141.6 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.003729, allocations: 4.375 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.003736, allocations: 384 / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.003822, allocations: 70.92 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003828, allocations: 192 / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.003836, allocations: 4.375 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00384, allocations: 4.375 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.003865, allocations: 15.88 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.004085, allocations: 180.2 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.004149, allocations: 30.61 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.004162, allocations: 12.86 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.004173, allocations: 0 / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.004194, allocations: 38.58 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004195, allocations: 0 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.553e-05/0.00429, allocations: 41.69 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.004318, allocations: 59.34 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.00438, allocations: 131.1 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.004398, allocations: 33.7 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.004432, allocations: 96.06 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.004446, allocations: 3.953 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.004473, allocations: 21.7 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.004546, allocations: 322.8 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.004555, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.004564, allocations: 4 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.004589, allocations: 17.12 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.00459, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.768e-05/0.004638, allocations: 49.61 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.004648, allocations: 7.938 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.004651, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.004665, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.004704, allocations: 4 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004708, allocations: 7.969 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.004731, allocations: 4 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.004736, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 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.075e-05/0.004786, allocations: 117.8 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.004806, allocations: 19.92 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.004823, allocations: 4.344 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004825, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004826, allocations: 4 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004829, allocations: 0 / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.005059, allocations: 81.83 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.00506, allocations: 0 / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.00508, allocations: 7.984 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005082, allocations: 0 / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.005086, allocations: 0 / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.00509, allocations: 7.938 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00509, allocations: 4 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.005162, allocations: 139.5 kB / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.005169, allocations: 0 / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.005182, allocations: 0 / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.00522, allocations: 15.92 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.005252, allocations: 7.984 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.005254, allocations: 0 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.005275, allocations: 28.81 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005275, allocations: 0 / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001222/0.005397, allocations: 19.89 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.697e-05/0.005464, allocations: 84.41 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.445e-05/0.005519, allocations: 16.8 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.005521, allocations: 4 kB / 0.6421 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.005538, allocations: 16.83 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.005662, allocations: 8 kB / 0.6422 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.006003, allocations: 168.2 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.006037, allocations: 63.34 kB / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.006061, allocations: 4.281 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.006113, allocations: 59.36 kB / 0.6424 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of SimCode: time 6.81e-07/0.006114, allocations: 3.938 kB / 0.6424 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of Templates: time 0.002296/0.00841, allocations: 0.9925 MB / 0.6434 GB, free: 8.152 MB / 0.6043 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395284814760089]