Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.04079/0.04079, allocations: 9.131 MB / 28.99 MB, free: 0.8086 MB / 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.0008487/0.0008487, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001016/0.001016, allocations: 164.2 kB / 38.73 MB, free: 2.508 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 0.9211/0.9211, allocations: 177.1 MB / 219.2 MB, free: 10.08 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.005207/0.005207, allocations: 0.825 MB / 276.5 MB, free: 0.7148 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.741/1.741, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/2.005e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001679/0.001699, allocations: 0.7569 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.006712, allocations: 0.8818 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.006749, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.006775, allocations: 4 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.006847, allocations: 3.938 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.006976, allocations: 35.83 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.007059, allocations: 43.86 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.007137, allocations: 11.98 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.007217, allocations: 27.97 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.007268, allocations: 19.91 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.007287, allocations: 4 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.007296, allocations: 8 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.007312, allocations: 4 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.007336, allocations: 23.91 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.007417, allocations: 27.97 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007419, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007419, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.007423, allocations: 0 / 0.6397 GB, free: 12.21 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.0003078/0.00773, allocations: 252.8 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.007767, allocations: 15.98 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.007797, allocations: 4.922 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.007895, allocations: 117.7 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.007915, allocations: 8.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.007923, allocations: 384 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.008053, allocations: 74.92 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.008061, allocations: 7.875 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.008068, allocations: 0 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.008073, allocations: 0 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.008105, allocations: 8 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.008362, allocations: 180.1 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.008435, allocations: 30.56 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.008457, allocations: 12.86 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.00847, allocations: 11.94 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.008494, allocations: 34.56 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.008495, allocations: 0 / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001329/0.008628, allocations: 53.61 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.008659, allocations: 51.41 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.008721, allocations: 110.8 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.008733, allocations: 25.7 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.00877, allocations: 92.08 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.008788, allocations: 11.94 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.00882, allocations: 17.72 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0031/0.01192, allocations: 322.8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.01194, allocations: 4 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.01195, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.01199, allocations: 16.84 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01199, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.197e-05/0.01206, allocations: 49.56 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01208, allocations: 11.98 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01208, allocations: 0 / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01209, allocations: 0 / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.01216, allocations: 8 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01216, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.0122, allocations: 11.98 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.0122, allocations: 0 / 0.6412 GB, free: 10.54 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,intLesEquThr.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 6.03e-05/0.01226, allocations: 105.8 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.01229, allocations: 7.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.01231, allocations: 11.98 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01231, allocations: 3.938 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01231, allocations: 4 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01232, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.01243, allocations: 73.88 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.01243, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01246, allocations: 11.94 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01246, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.01247, allocations: 11.92 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.01247, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01247, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.282e-05/0.01257, allocations: 139.5 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.01258, allocations: 3.953 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.01259, allocations: 11.92 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.01264, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.01268, allocations: 15.98 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.01269, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.795e-05/0.01271, allocations: 16.84 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01271, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001823/0.01289, allocations: 7.938 kB / 0.6416 GB, free: 10.07 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 (intLesEquThr.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.452e-05/0.01297, allocations: 84.73 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.31e-05/0.01305, allocations: 28.81 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01305, allocations: 0 / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.01308, allocations: 16.86 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003819/0.0169, allocations: 11.98 kB / 0.6417 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.01714, allocations: 132.4 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.01718, allocations: 55.34 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.01721, allocations: 4 kB / 0.6419 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.01727, allocations: 63.36 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of SimCode: time 5.21e-07/0.01727, allocations: 0 / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of Templates: time 0.002558/0.01983, allocations: 0.9648 MB / 0.6429 GB, free: 8.656 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473650678992271]