Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json 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.00082/0.00082, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007867/0.0007867, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8586/0.8586, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.703/0.703, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 4 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.071e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001001/0.001021, allocations: 0.6051 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002048, allocations: 1.124 MB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.00207, allocations: 0 / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.002086, allocations: 0 / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.002308, allocations: 15.92 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.002312, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.002356, allocations: 11.92 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.002396, allocations: 8 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.00242, allocations: 0 / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.002442, allocations: 0 / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.002451, allocations: 4 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.002543, allocations: 11.92 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.002553, allocations: 11.92 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.078e-05/0.002564, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.749e-05/0.002642, allocations: 15.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002643, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002644, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.002648, allocations: 4 kB / 0.6211 GB, free: 11.35 MB / 0.5886 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.0002043/0.002852, allocations: 242.4 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.002889, allocations: 9.469 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.00307, allocations: 16.91 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.199e-05/0.003122, allocations: 105.8 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003133, allocations: 4.359 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.003153, allocations: 384 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.003236, allocations: 38.25 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.003245, allocations: 4.125 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003254, allocations: 4.375 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003259, allocations: 3.938 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.003297, allocations: 15.92 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.896e-05/0.003396, allocations: 101.3 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.003536, allocations: 34.61 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.003554, allocations: 8.859 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.003571, allocations: 4 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.003586, allocations: 30.56 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.003586, allocations: 0 / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001725/0.005312, allocations: 0.5442 MB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005341, allocations: 55.39 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.396e-05/0.005365, allocations: 93.8 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.005377, allocations: 29.7 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.005661, allocations: 80.14 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.005695, allocations: 19.83 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.005734, allocations: 25.7 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.005806, allocations: 314.8 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.006058, allocations: 79.95 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.00631, allocations: 102.5 kB / 0.623 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.00681, allocations: 194.4 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006812, allocations: 0 / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005403/0.007352, allocations: 213.6 kB / 0.6234 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007364, allocations: 8 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007369, allocations: 0 / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.00738, allocations: 0 / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.007548, allocations: 55.94 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007553, allocations: 0 / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.007695, allocations: 43.97 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.007705, allocations: 192 / 0.6235 GB, free: 8.723 MB / 0.5886 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 6.246e-05/0.007767, allocations: 114.8 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.007776, allocations: 4 kB / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.007822, allocations: 15.66 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007825, allocations: 0 / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.00783, allocations: 3.938 kB / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007833, allocations: 0 / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.008551, allocations: 402.1 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008553, allocations: 432 / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.00871, allocations: 51.97 kB / 0.6241 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008715, allocations: 3.938 kB / 0.6241 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.00873, allocations: 7.922 kB / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008731, allocations: 0 / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008733, allocations: 3.938 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.009277, allocations: 311.4 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.009284, allocations: 7.984 kB / 0.6244 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.009299, allocations: 3.938 kB / 0.6244 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.00945, allocations: 39.98 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.009464, allocations: 3.984 kB / 0.6244 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.009471, allocations: 4 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.848e-05/0.00949, allocations: 75.28 kB / 0.6245 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00949, allocations: 0 / 0.6245 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001577/0.009647, allocations: 8 kB / 0.6245 GB, free: 7.613 MB / 0.5886 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 7.073e-05/0.009718, allocations: 95.25 kB / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.01026, allocations: 187.9 kB / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01027, allocations: 0 / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.01052, allocations: 88.08 kB / 0.6249 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.01067, allocations: 4 kB / 0.6249 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.01124, allocations: 242.5 kB / 0.6251 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.01128, allocations: 59.34 kB / 0.6252 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.01135, allocations: 16.48 kB / 0.6252 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01135, allocations: 4 kB / 0.6252 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of Templates: time 0.001635/0.01299, allocations: 1.09 MB / 0.6262 GB, free: 5.797 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.076656737364829] Failed to read output from testmodel.py, exit status != 0: 0.01732620596885681 0.025229691000000002 0.021045685 Calling exit ...