Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0432/0.0432, allocations: 9.126 MB / 28.99 MB, free: 332 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.001139/0.001139, allocations: 95.27 kB / 35.33 MB, free: 0.9258 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.001652/0.001652, allocations: 165.1 kB / 38.73 MB, free: 2.375 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.046/1.046, 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.00413/0.00413, allocations: 0.8205 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.316e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001207/0.00123, allocations: 0.6267 MB / 0.6385 GB, free: 13.43 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.002456, allocations: 1.162 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.002481, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.002493, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.002707, allocations: 27.78 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.00271, allocations: 4 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.334e-05/0.002743, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.002778, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.002801, allocations: 4 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.002824, allocations: 7.984 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 8.076e-06/0.002832, allocations: 0 / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.002928, allocations: 23.86 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.002937, allocations: 0 / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-06/0.002945, allocations: 0 / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.392e-05/0.003009, allocations: 11.98 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003011, allocations: 0 / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003012, allocations: 0 / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003015, allocations: 0 / 0.6397 GB, free: 12.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001761/0.003191, allocations: 224.7 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.003222, allocations: 15.98 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.003244, allocations: 4.875 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.008e-05/0.003294, allocations: 105.8 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003303, allocations: 384 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.003324, allocations: 8.297 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.942e-05/0.003383, allocations: 30.27 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.003392, allocations: 192 / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.003398, allocations: 384 / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.003404, allocations: 7.938 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.003426, allocations: 3.984 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.48e-05/0.003501, allocations: 61.05 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.003631, allocations: 34.61 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.102e-05/0.003642, allocations: 8.797 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.003723, allocations: 8 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.003743, allocations: 30.56 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.003744, allocations: 0 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.000894/0.004638, allocations: 270.2 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.004668, allocations: 55.41 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.615e-05/0.004694, allocations: 97.78 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.004707, allocations: 25.7 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.004725, allocations: 80.14 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.004756, allocations: 20.19 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.00479, allocations: 17.72 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.004858, allocations: 310.8 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.004889, allocations: 11.98 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.004926, allocations: 22.56 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.004991, allocations: 38.5 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.004992, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.347e-05/0.005085, allocations: 57.62 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.005098, allocations: 8 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.005103, allocations: 0 / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.005114, allocations: 4.094 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.005235, allocations: 31.97 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005239, allocations: 3.984 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.005317, allocations: 23.94 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.005325, allocations: 4 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.673e-05/0.005382, allocations: 117.8 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.005394, allocations: 7.938 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.005535, allocations: 77.48 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005537, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.005542, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005546, allocations: 7.922 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.005755, allocations: 202.8 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005757, allocations: 0 / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.005861, allocations: 27.98 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.005864, allocations: 4 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.005871, allocations: 0 / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005873, allocations: 0 / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.005875, allocations: 3.938 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.00598, allocations: 147.5 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.005985, allocations: 3.984 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.005997, allocations: 0 / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.006092, allocations: 16 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.006105, allocations: 15.92 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.006111, allocations: 0 / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.823e-06/0.006118, allocations: 4.859 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006118, allocations: 0 / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000139/0.006257, allocations: 19.94 kB / 0.6419 GB, free: 9.703 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 (5): * Single equations (assignments): 5 * 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 0.0001213/0.006379, allocations: 88.39 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.006476, allocations: 24.8 kB / 0.642 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.006478, allocations: 4 kB / 0.642 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.006511, allocations: 21.03 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.782e-05/0.006609, allocations: 8.25 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.006862, allocations: 124.8 kB / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.867e-05/0.006891, allocations: 55.22 kB / 0.6422 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 9.923e-05/0.00699, allocations: 32 kB / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.00706, allocations: 55.36 kB / 0.6423 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of SimCode: time 7.91e-07/0.00706, allocations: 7.938 kB / 0.6423 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of Templates: time 0.002256/0.009316, allocations: 0.918 MB / 0.6432 GB, free: 8.316 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.44616162776947]