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.04213/0.04213, allocations: 9.127 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.0009778/0.0009778, allocations: 99.2 kB / 35.33 MB, free: 0.918 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.001095/0.001095, allocations: 167.9 kB / 38.73 MB, free: 2.398 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.9584/0.9584, allocations: 177.2 MB / 219.2 MB, free: 10.14 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.009044/0.009044, allocations: 0.818 MB / 276.5 MB, free: 0.7617 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.722/1.722, 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 2.424e-06/2.424e-06, allocations: 0 / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.533e-05, allocations: 2.312 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001257/0.001282, allocations: 0.6777 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.00263, allocations: 1.159 MB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.002656, allocations: 8 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.00267, allocations: 3.938 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.002879, allocations: 23.78 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.002881, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.498e-05/0.002916, allocations: 4 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.002951, allocations: 3.984 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.002976, allocations: 4 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.002999, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.003007, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.003113, allocations: 15.94 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.003126, allocations: 3.984 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.003137, allocations: 7.984 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.591e-05/0.003203, allocations: 12 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003205, allocations: 0 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003205, allocations: 0 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.003208, allocations: 0 / 0.6398 GB, free: 12.06 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.0001673/0.003376, allocations: 216.7 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.003406, allocations: 15.92 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.003426, allocations: 4.875 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.67e-05/0.003483, allocations: 109.8 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.00349, allocations: 384 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.003507, allocations: 8.359 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.793e-05/0.003565, allocations: 34.27 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003575, allocations: 4.172 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.00358, allocations: 384 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.003586, allocations: 3.938 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.003605, allocations: 4 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.813e-05/0.003693, allocations: 57.05 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.003814, allocations: 34.55 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.15e-05/0.003825, allocations: 4.859 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.003905, allocations: 12 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.003926, allocations: 34.64 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.003926, allocations: 4 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0008906/0.004817, allocations: 258.2 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.004844, allocations: 55.41 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.58e-05/0.00487, allocations: 93.8 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.004883, allocations: 29.7 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.0049, allocations: 80.14 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.004933, allocations: 28.17 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.004966, allocations: 13.72 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.005035, allocations: 314.8 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.005062, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.005102, allocations: 34.5 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.747e-05/0.00517, allocations: 34.56 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.00517, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.973e-05/0.00526, allocations: 53.66 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005271, allocations: 8 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005276, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005289, allocations: 3.984 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.005414, allocations: 36.17 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005417, allocations: 4 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.005495, allocations: 27.92 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.005504, allocations: 4 kB / 0.6414 GB, free: 10.3 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.321e-05/0.005557, allocations: 109.8 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.005576, allocations: 7.938 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.005721, allocations: 77.28 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005722, allocations: 3.938 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005724, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005727, allocations: 3.938 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.005926, allocations: 198.8 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005927, allocations: 0 / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.006039, allocations: 27.98 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006041, allocations: 0 / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.006053, allocations: 7.984 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006054, allocations: 7.938 kB / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006056, allocations: 3.938 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.006164, allocations: 135.5 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.006169, allocations: 4 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.006182, allocations: 4 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.006272, allocations: 23.98 kB / 0.642 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.006284, allocations: 4.125 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.006292, allocations: 7.984 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.422e-06/0.006298, allocations: 4.859 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006298, allocations: 4 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001321/0.00643, allocations: 15.94 kB / 0.642 GB, free: 9.598 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 9.804e-05/0.006528, allocations: 80.42 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.006633, allocations: 36.78 kB / 0.6421 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006634, allocations: 0 / 0.6421 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.006669, allocations: 24.77 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.719e-05/0.006766, allocations: 4 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.007005, allocations: 117 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.007036, allocations: 63.2 kB / 0.6423 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 9.818e-05/0.007134, allocations: 28 kB / 0.6424 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.007204, allocations: 51.38 kB / 0.6424 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of SimCode: time 7.91e-07/0.007205, allocations: 0 / 0.6424 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of Templates: time 0.002027/0.009233, allocations: 0.9258 MB / 0.6433 GB, free: 8.219 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.294588754884899]