Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.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.04123/0.04123, allocations: 9.123 MB / 28.98 MB, free: 328 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.0008834/0.0008834, allocations: 95.2 kB / 35.33 MB, free: 0.9219 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.0009908/0.0009908, allocations: 162.2 kB / 38.73 MB, free: 2.402 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.061/1.061, 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.006645/0.006645, allocations: 0.8258 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.711/1.711, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") translateModel(AixLib.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 3.984 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.486e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothHeaviside): time 0.001671/0.001686, allocations: 1.506 MB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.00238, allocations: 0.4946 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.002408, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.002429, allocations: 3.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.002486, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.002644, allocations: 23.86 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.002694, allocations: 23.92 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.002751, allocations: 11.98 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.002821, allocations: 11.98 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.002852, allocations: 15.92 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002863, allocations: 4 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-05/0.002913, allocations: 19.92 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.002926, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.00294, allocations: 8 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.816e-05/0.003018, allocations: 35.83 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003019, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00302, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.003023, allocations: 0 / 0.64 GB, free: 11.96 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.0002332/0.003256, allocations: 232.9 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.003284, allocations: 19.98 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.003305, allocations: 4.922 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.003368, allocations: 105.8 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.003375, allocations: 384 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.003384, allocations: 8.375 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.003459, allocations: 46.95 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-06/0.003463, allocations: 192 / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.00347, allocations: 4.375 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.003476, allocations: 3.938 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.003493, allocations: 7.922 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.003644, allocations: 152.3 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.373e-05/0.003678, allocations: 26.61 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.003689, allocations: 4.859 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.857e-05/0.003757, allocations: 8.047 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.003776, allocations: 42.5 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.003777, allocations: 0 / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.273e-05/0.00386, allocations: 41.62 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.003884, allocations: 51.41 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.457e-05/0.003929, allocations: 110.7 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.003938, allocations: 25.83 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.003962, allocations: 88.14 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.003975, allocations: 7.938 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.003995, allocations: 13.72 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.004104, allocations: 310.8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.004113, allocations: 3.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.004119, allocations: 7.938 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.004138, allocations: 12.8 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004139, allocations: 0 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.328e-05/0.004172, allocations: 37.69 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.004181, allocations: 12 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.004184, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.004194, allocations: 3.938 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.00424, allocations: 8.25 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.004242, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.004259, allocations: 11.98 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.004263, allocations: 0 / 0.6413 GB, free: 10.41 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 (2): * Single equations (assignments): 2 * 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.359e-05/0.004307, allocations: 109.8 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.004319, allocations: 3.938 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.004372, allocations: 45 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004374, allocations: 3.938 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004375, allocations: 0 / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004378, allocations: 0 / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.702e-05/0.004455, allocations: 77.83 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004455, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.004473, allocations: 8 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004474, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.004477, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004478, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.004479, allocations: 3.984 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.697e-05/0.004536, allocations: 139.5 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-06/0.004541, allocations: 4 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-06/0.004547, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.004575, allocations: 3.984 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.004598, allocations: 7.938 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004599, allocations: 0 / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.316e-06/0.004608, allocations: 8.859 kB / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004608, allocations: 0 / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000125/0.004733, allocations: 8 kB / 0.6417 GB, free: 9.949 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 (2): * Single equations (assignments): 2 * 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.153e-05/0.004814, allocations: 88.38 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.53e-05/0.004859, allocations: 16.84 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.004861, allocations: 3.938 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.004874, allocations: 12.8 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.004991, allocations: 7.984 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.005158, allocations: 104.8 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.005184, allocations: 51.36 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.005199, allocations: 8.312 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.005236, allocations: 55.36 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of SimCode: time 2.91e-07/0.005236, allocations: 0 / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of Templates: time 0.001789/0.007025, allocations: 0.6025 MB / 0.6427 GB, free: 8.945 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.406464179977775]