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.001782/0.001782, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002291/0.002291, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.256/1.256, allocations: 154.8 MB / 414.3 MB, free: 484 kB / 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 178] 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.003e-06/2.003e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.988e-05/4.188e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002995/0.003037, allocations: 0.6091 MB / 0.5205 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.006042, allocations: 1.132 MB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.006079, allocations: 1.219 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.006094, allocations: 0 / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.006417, allocations: 15.92 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.006422, allocations: 4.625 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.006476, allocations: 5.75 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.006528, allocations: 3.984 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.006566, allocations: 4 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.006597, allocations: 0 / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.006609, allocations: 0 / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.006768, allocations: 17.61 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.006785, allocations: 3.938 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.00681, allocations: 3.984 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.006926, allocations: 19.86 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.006931, allocations: 1.344 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006933, allocations: 0 / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006937, allocations: 0 / 0.5217 GB, free: 456 kB / 490.7 MB 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.0004236/0.007361, allocations: 242.4 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.007412, allocations: 8.594 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.007832, allocations: 17.66 kB / 0.5219 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.007968, allocations: 101.8 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.007995, allocations: 5.844 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.008032, allocations: 4.375 kB / 0.522 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.00821, allocations: 34.25 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.008226, allocations: 192 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.00824, allocations: 1.719 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.00825, allocations: 3.938 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.008315, allocations: 15.92 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.008529, allocations: 97.33 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.008798, allocations: 42.12 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.008835, allocations: 12.8 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.008858, allocations: 0 / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.008906, allocations: 34.56 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.008908, allocations: 0 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.006885/0.01579, allocations: 0.5439 MB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.01586, allocations: 55.34 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.01595, allocations: 89.86 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.01599, allocations: 33.7 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.01606, allocations: 84.12 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.01612, allocations: 12.66 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.01622, allocations: 17.72 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002593/0.01648, allocations: 320.9 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.01754, allocations: 85.64 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.01866, allocations: 97.16 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.02079, allocations: 196 kB / 0.5238 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0208, allocations: 0.9375 kB / 0.5238 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002252/0.02305, allocations: 216.1 kB / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.02307, allocations: 8 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02308, allocations: 0 / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.02311, allocations: 0 / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.0237, allocations: 56.03 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.02371, allocations: 0 / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.02415, allocations: 43.16 kB / 0.5241 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.02417, allocations: 4 kB / 0.5241 GB, free: 13.91 MB / 0.4948 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 0.0001533/0.02433, allocations: 111.4 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.02437, allocations: 4 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.02445, allocations: 7.969 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.02446, allocations: 0 / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.02447, allocations: 4.125 kB / 0.5242 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.02448, allocations: 1.438 kB / 0.5242 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.0265, allocations: 414.4 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02651, allocations: 0 / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.02699, allocations: 47.78 kB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.027, allocations: 3.938 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.02702, allocations: 6.25 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02702, allocations: 0 / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.02703, allocations: 11.86 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.02909, allocations: 300.3 kB / 0.5249 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.02911, allocations: 7.984 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.02914, allocations: 3.938 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.02978, allocations: 40.17 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.02981, allocations: 3.984 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.02983, allocations: 1.312 kB / 0.525 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.02989, allocations: 79.28 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02989, allocations: 0 / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004475/0.03034, allocations: 12 kB / 0.5251 GB, free: 12.85 MB / 0.4948 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.0001986/0.03054, allocations: 92.25 kB / 0.5252 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.03268, allocations: 185.3 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.03268, allocations: 2 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.03372, allocations: 85.58 kB / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.03411, allocations: 8 kB / 0.5254 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.03615, allocations: 226.6 kB / 0.5257 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.03625, allocations: 61.59 kB / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003443/0.0366, allocations: 34.06 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.03674, allocations: 12.48 kB / 0.5258 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/0.03674, allocations: 0 / 0.5258 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.005229/0.04197, allocations: 0.8005 MB / 0.5265 GB, free: 11.36 MB / 0.4948 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.967799558886327]