Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.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.03943/0.03943, allocations: 9.126 MB / 28.99 MB, free: 0.7969 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.000821/0.000821, allocations: 91.11 kB / 35.32 MB, free: 1.062 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.0009684/0.0009684, allocations: 168.6 kB / 38.73 MB, free: 2.492 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.9471/0.9471, 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.005688/0.005688, allocations: 0.8216 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.697/1.697, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.Divide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.935e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001267/0.001287, allocations: 0.7068 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.002041, allocations: 0.847 MB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.00207, allocations: 0 / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.002094, allocations: 3.938 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.002156, allocations: 7.922 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 5.374e-05/0.00221, allocations: 15.97 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.002273, allocations: 43.86 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.002341, allocations: 7.984 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.002416, allocations: 35.84 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.002449, allocations: 11.98 kB / 0.6395 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.002468, allocations: 8 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-06/0.002474, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002489, allocations: 7.984 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.002508, allocations: 15.92 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.003e-05/0.002588, allocations: 27.91 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002589, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00259, allocations: 0 / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002593, 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002703/0.002864, allocations: 252.9 kB / 0.6398 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.002894, allocations: 11.98 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.006e-05/0.002914, allocations: 12.92 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.002982, allocations: 109.8 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.002991, allocations: 4.375 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.002999, allocations: 4.312 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.003098, allocations: 66.88 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.003103, allocations: 192 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.00311, allocations: 384 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.003114, allocations: 4.375 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.003133, allocations: 7.938 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.003316, allocations: 160.2 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.003366, allocations: 30.5 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.003382, allocations: 12.92 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.003388, allocations: 0 / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.003404, allocations: 30.56 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.003405, allocations: 0 / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001029/0.003507, allocations: 45.72 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.003534, allocations: 51.41 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.003584, allocations: 114.7 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.003594, allocations: 25.7 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.003623, allocations: 92.12 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.00364, allocations: 15.84 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.003662, allocations: 17.7 kB / 0.6406 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.003733, allocations: 322.8 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.003742, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.003752, allocations: 4 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.003773, allocations: 12.84 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003774, allocations: 0 / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.306e-05/0.003817, allocations: 41.69 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.003828, allocations: 7.906 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.003832, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.003842, allocations: 7.938 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.003902, allocations: 15.92 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.003904, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.003924, allocations: 4 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.003931, allocations: 4 kB / 0.641 GB, free: 10.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.548e-05/0.003977, allocations: 109.8 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.003989, allocations: 3.984 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.004004, allocations: 8.328 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004006, allocations: 7.875 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.004008, allocations: 8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.004012, allocations: 3.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.581e-05/0.004087, allocations: 73.89 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.004088, allocations: 0 / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.00411, allocations: 8 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004111, allocations: 0 / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.004115, allocations: 3.984 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004116, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004117, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.004187, allocations: 143.4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004193, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-06/0.004201, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.432e-05/0.004235, allocations: 7.984 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.004261, allocations: 4 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.004265, allocations: 7.938 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.215e-05/0.004277, allocations: 12.84 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004277, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001175/0.004395, allocations: 11.95 kB / 0.6414 GB, free: 10.2 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: 0 () * Number of discrete states: 0 () * 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.899e-05/0.004464, allocations: 76.36 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.004519, allocations: 24.84 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.004521, allocations: 0 / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.004537, allocations: 12.8 kB / 0.6415 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.004658, allocations: 8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.004861, allocations: 132.3 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.004889, allocations: 59.3 kB / 0.6417 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.004906, allocations: 4 kB / 0.6417 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.004951, allocations: 59.36 kB / 0.6418 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of SimCode: time 3.71e-07/0.004951, allocations: 0 / 0.6418 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of Templates: time 0.001928/0.006879, allocations: 0.6649 MB / 0.6424 GB, free: 9.105 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.388842394575477]