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.05971/0.05971, allocations: 9.131 MB / 28.99 MB, free: 344 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.001336/0.001336, allocations: 98.36 kB / 35.33 MB, free: 0.9375 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.001796/0.001796, allocations: 163.8 kB / 38.73 MB, free: 2.41 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.9722/0.9722, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.003727/0.003727, allocations: 0.8221 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.554/1.554, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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 1.874e-06/1.874e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.345e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001387/0.001411, allocations: 0.7137 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.002176, allocations: 0.878 MB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.002208, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.002232, allocations: 7.875 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.002298, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.002412, allocations: 31.84 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.438e-05/0.002477, allocations: 43.91 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.915e-05/0.002546, allocations: 11.98 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.002619, allocations: 31.92 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.002665, allocations: 19.95 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.002684, allocations: 4 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.002693, allocations: 4 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.002711, allocations: 11.94 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002728, allocations: 11.98 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.448e-05/0.002802, allocations: 35.83 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002805, allocations: 4 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002805, allocations: 3.938 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.002808, allocations: 0 / 0.6396 GB, free: 12.29 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.0002758/0.003084, allocations: 256.8 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.003113, allocations: 11.98 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.003136, allocations: 4.938 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/0.003201, allocations: 105.8 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.003216, allocations: 8.375 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.003223, allocations: 384 / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.003323, allocations: 62.92 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003329, allocations: 3.938 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003337, allocations: 8 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.003341, allocations: 0 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.003369, allocations: 23.91 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.003575, allocations: 172.2 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.003638, allocations: 34.62 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.003655, allocations: 12.86 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.003666, allocations: 7.938 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.003684, allocations: 30.56 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.003684, allocations: 7.875 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001003/0.003785, allocations: 49.69 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.003811, allocations: 55.41 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.003869, allocations: 110.7 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.003879, allocations: 25.7 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.00391, allocations: 92.08 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.003923, allocations: 3.953 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.003952, allocations: 21.7 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.004217, allocations: 318.8 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.004228, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.004239, allocations: 4 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.004269, allocations: 20.78 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004271, allocations: 4 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.178e-05/0.004322, allocations: 49.61 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.004332, allocations: 8 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004336, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.004345, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.004403, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.004405, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.004428, allocations: 8.312 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.004434, allocations: 4 kB / 0.6411 GB, free: 10.62 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.312e-05/0.004487, allocations: 117.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.004504, allocations: 15.92 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.00452, allocations: 11.98 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004522, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004523, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004525, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.004611, allocations: 77.83 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004612, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.004634, allocations: 4 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.004636, allocations: 4 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.004643, allocations: 7.938 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.004645, allocations: 7.984 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004645, allocations: 3.938 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.624e-05/0.004722, allocations: 135.5 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.004729, allocations: 7.953 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.004739, allocations: 7.938 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.004779, allocations: 11.92 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.004815, allocations: 11.98 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.004818, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.004829, allocations: 8.859 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004829, allocations: 0 / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001116/0.004941, allocations: 11.98 kB / 0.6415 GB, free: 10.14 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 6.81e-05/0.005009, allocations: 80.42 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.564e-05/0.005065, allocations: 24.84 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.005067, allocations: 0 / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.00509, allocations: 16.8 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.005207, allocations: 11.92 kB / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.00541, allocations: 128.5 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.81e-05/0.005439, allocations: 63.34 kB / 0.6418 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.005463, allocations: 4 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.005512, allocations: 59.38 kB / 0.6419 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.005513, allocations: 0 / 0.6419 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of Templates: time 0.0021/0.007612, allocations: 0.9688 MB / 0.6428 GB, free: 8.73 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.216020918916911]