Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001064/0.001064, allocations: 93.06 kB / 19.65 MB, free: 280 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.001204/0.001204, allocations: 169 kB / 23.02 MB, free: 1.551 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.9845/0.9845, allocations: 177.1 MB / 203.4 MB, free: 5.641 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-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 0.7758/0.7758, allocations: 154.9 MB / 414.8 MB, free: 408 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 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5207 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.565e-05, allocations: 5.375 kB / 0.5207 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002028/0.002053, allocations: 1.503 MB / 0.5221 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.002677, allocations: 498.3 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.002707, allocations: 0.8438 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.00273, allocations: 0 / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.002784, allocations: 8.5 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002933, allocations: 15.98 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.002986, allocations: 33 kB / 0.5227 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.003044, allocations: 0 / 0.5227 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.003097, allocations: 23.86 kB / 0.5227 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.003127, allocations: 8.703 kB / 0.5227 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.003138, allocations: 5.656 kB / 0.5227 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.003187, allocations: 12 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.003201, allocations: 3.984 kB / 0.5227 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.003218, allocations: 15.92 kB / 0.5227 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.556e-05/0.003294, allocations: 27.91 kB / 0.5228 GB, free: 14.63 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003296, allocations: 1.625 kB / 0.5228 GB, free: 14.63 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003296, allocations: 0 / 0.5228 GB, free: 14.63 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003301, allocations: 0 / 0.5228 GB, free: 14.63 MB / 458.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.0002866/0.003587, allocations: 356.6 kB / 0.5231 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.003618, allocations: 12.78 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.003782, allocations: 20.86 kB / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.26e-05/0.003845, allocations: 109.8 kB / 0.5232 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.003852, allocations: 384 / 0.5232 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.003858, allocations: 384 / 0.5232 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.003946, allocations: 64.12 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-06/0.003951, allocations: 4.188 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.003958, allocations: 384 / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.003964, allocations: 6.219 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.003991, allocations: 4 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.004237, allocations: 259.7 kB / 0.5236 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.004282, allocations: 35.03 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.004303, allocations: 15.75 kB / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.004314, allocations: 5.656 kB / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004332, allocations: 41.33 kB / 0.5237 GB, free: 13.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.004333, allocations: 0 / 0.5237 GB, free: 13.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001086/0.004441, allocations: 41.69 kB / 0.5237 GB, free: 13.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.004466, allocations: 55.97 kB / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.00452, allocations: 157.9 kB / 0.5239 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004529, allocations: 26.61 kB / 0.5239 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.004567, allocations: 138.8 kB / 0.5241 GB, free: 13.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.004581, allocations: 9.031 kB / 0.5241 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.004606, allocations: 19.38 kB / 0.5241 GB, free: 13.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.004725, allocations: 496.1 kB / 0.5246 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.004739, allocations: 8.766 kB / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-06/0.004749, allocations: 0 / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.004777, allocations: 20.72 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004779, allocations: 256 / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.687e-05/0.004826, allocations: 39.19 kB / 0.5246 GB, free: 12.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.004838, allocations: 15.92 kB / 0.5246 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004842, allocations: 4 kB / 0.5247 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.00485, allocations: 1.125 kB / 0.5247 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.004908, allocations: 7.938 kB / 0.5247 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004913, allocations: 0 / 0.5247 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.004933, allocations: 4.688 kB / 0.5247 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.004938, allocations: 3.984 kB / 0.5247 GB, free: 12.49 MB / 458.7 MB 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 6.318e-05/0.005001, allocations: 161.9 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.005016, allocations: 7.891 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.00504, allocations: 8.438 kB / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005042, allocations: 0 / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.005044, allocations: 0 / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.005048, allocations: 0.5312 kB / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.843e-05/0.005147, allocations: 119.5 kB / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005148, allocations: 0 / 0.525 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.005199, allocations: 8 kB / 0.525 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.005201, allocations: 0 / 0.525 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.00521, allocations: 7.922 kB / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005212, allocations: 0 / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005212, allocations: 0 / 0.525 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.005312, allocations: 194.9 kB / 0.5252 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.005322, allocations: 7.984 kB / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005331, allocations: 3.938 kB / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.005371, allocations: 4 kB / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.005393, allocations: 0 / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.005396, allocations: 0 / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.576e-05/0.005432, allocations: 131.2 kB / 0.5253 GB, free: 11.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005432, allocations: 0 / 0.5253 GB, free: 11.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.00556, allocations: 5.5 kB / 0.5253 GB, free: 11.79 MB / 458.7 MB 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 6.784e-05/0.005628, allocations: 91.25 kB / 0.5254 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.018e-05/0.005698, allocations: 20.17 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005699, allocations: 3.094 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.005719, allocations: 19.62 kB / 0.5254 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.005878, allocations: 14.17 kB / 0.5254 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.006088, allocations: 114.4 kB / 0.5255 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.006121, allocations: 59.2 kB / 0.5256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.006146, allocations: 6.438 kB / 0.5256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.006169, allocations: 9.719 kB / 0.5256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00617, allocations: 0 / 0.5256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of Templates: time 0.001919/0.008089, allocations: 0.6433 MB / 0.5262 GB, free: 10.79 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5376380179077387]