Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.04344/0.04344, allocations: 9.126 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.001418/0.001418, 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.00113/0.00113, allocations: 166.2 kB / 38.73 MB, free: 2.379 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.005/1.005, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004037/0.004037, allocations: 0.8297 MB / 276.5 MB, free: 0.7539 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.72/1.72, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.801e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002024/0.002052, allocations: 0.7569 MB / 0.6386 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003141, allocations: 0.8819 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.00318, allocations: 0 / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.00321, allocations: 3.938 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.003293, allocations: 3.938 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.003434, allocations: 19.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.00351, allocations: 59.77 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.003586, allocations: 11.98 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.003664, allocations: 19.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.003714, allocations: 23.91 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003732, allocations: 4 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.00374, allocations: 8 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.003756, allocations: 11.98 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.003775, allocations: 11.92 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.003856, allocations: 35.89 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003859, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003861, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003864, allocations: 0 / 0.6397 GB, free: 12.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003012/0.004165, allocations: 252.9 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.004198, allocations: 15.92 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.004226, allocations: 8.922 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.004305, allocations: 109.7 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004321, allocations: 8.375 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.004328, allocations: 4.375 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.004441, allocations: 70.91 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004448, allocations: 3.938 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.004455, allocations: 0 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004461, allocations: 4 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.004488, allocations: 8 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.004716, allocations: 176.1 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.004779, allocations: 38.62 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.004798, allocations: 16.84 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.004809, allocations: 3.938 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004832, allocations: 38.56 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004833, allocations: 0 / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001196/0.004952, allocations: 49.62 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.004979, allocations: 51.41 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.005032, allocations: 110.7 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005043, allocations: 25.7 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.005074, allocations: 88.09 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.005091, allocations: 15.94 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.00512, allocations: 17.7 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.005193, allocations: 318.8 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.005207, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.005218, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.005251, allocations: 21.12 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005253, allocations: 0 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.9e-05/0.005312, allocations: 53.55 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.005322, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005326, allocations: 0 / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005338, allocations: 8 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.005405, allocations: 7.984 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005408, allocations: 3.938 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.005436, allocations: 11.98 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.005441, allocations: 0 / 0.6412 GB, free: 10.52 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: 2 (reaToInt.y,intGreEquThr.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.695e-05/0.005498, allocations: 113.8 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.005516, allocations: 7.938 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.005533, allocations: 8 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005534, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005537, allocations: 4 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00554, allocations: 7.984 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.608e-05/0.005627, allocations: 69.91 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005628, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/0.005658, allocations: 7.984 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00566, allocations: 3.938 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005666, allocations: 7.938 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005666, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.005668, allocations: 3.984 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.005752, allocations: 139.5 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.005762, allocations: 11.89 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.005771, allocations: 7.938 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.005811, allocations: 7.984 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.005854, allocations: 11.98 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.005857, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.35e-05/0.005871, allocations: 8.859 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.005871, allocations: 0 / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000119/0.00599, allocations: 8 kB / 0.6416 GB, free: 10.05 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 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 8.175e-05/0.006072, allocations: 80.41 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.006139, allocations: 32.78 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006141, allocations: 0 / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.006163, allocations: 12.86 kB / 0.6417 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.006292, allocations: 7.984 kB / 0.6417 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.00652, allocations: 128.5 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006555, allocations: 63.28 kB / 0.6419 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.006582, allocations: 8 kB / 0.6419 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.006637, allocations: 59.38 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of SimCode: time 4.71e-07/0.006637, allocations: 0 / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of Templates: time 0.002648/0.009285, allocations: 0.9688 MB / 0.6429 GB, free: 8.641 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.385008856188506]