Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001309/0.001309, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00168/0.00168, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.043/1.043, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7772/0.7772, allocations: 154.9 MB / 415.1 MB, free: 280 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.702e-05, allocations: 10.14 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001836/0.001853, allocations: 1.499 MB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.002626, allocations: 0.5981 MB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.00268, allocations: 0 / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.002703, allocations: 5.562 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.002746, allocations: 3.938 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.002989, allocations: 63.8 kB / 0.5233 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.003065, allocations: 25.03 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.003142, allocations: 15.97 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.003247, allocations: 23.86 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.003286, allocations: 16.73 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.003297, allocations: 4 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.003395, allocations: 49.17 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.003407, allocations: 7.984 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.003419, allocations: 4 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003539, allocations: 72.45 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003541, allocations: 0 / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003541, allocations: 0.625 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.003545, allocations: 0 / 0.5235 GB, free: 15.16 MB / 0.4948 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.0002907/0.003835, allocations: 381.4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.003868, allocations: 8.031 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.00707, allocations: 1.139 MB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.007235, allocations: 164.4 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.007244, allocations: 384 / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.007268, allocations: 4.359 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.007958, allocations: 324.8 kB / 0.5254 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.007964, allocations: 8.125 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.007985, allocations: 384 / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.007991, allocations: 4.438 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.008165, allocations: 71.64 kB / 0.5255 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.009589, allocations: 0.8201 MB / 0.5263 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.01027, allocations: 302.2 kB / 0.5266 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.01037, allocations: 55.72 kB / 0.5266 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.01039, allocations: 0 / 0.5266 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.01041, allocations: 33.39 kB / 0.5267 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.01041, allocations: 0 / 0.5267 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004045/0.01081, allocations: 161.5 kB / 0.5268 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.01084, allocations: 51.41 kB / 0.5269 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.01091, allocations: 165.9 kB / 0.527 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01093, allocations: 29.7 kB / 0.5271 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.01098, allocations: 134.9 kB / 0.5272 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.011, allocations: 7.938 kB / 0.5272 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.01107, allocations: 31.34 kB / 0.5272 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01118, allocations: 496.1 kB / 0.5277 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.01128, allocations: 44 kB / 0.5277 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.01137, allocations: 39.98 kB / 0.5278 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01151, allocations: 47.67 kB / 0.5278 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01151, allocations: 4.062 kB / 0.5278 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002501/0.01176, allocations: 105.6 kB / 0.5279 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01177, allocations: 4 kB / 0.5279 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01178, allocations: 7.922 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01179, allocations: 0 / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.01231, allocations: 187.9 kB / 0.5281 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01231, allocations: 3.984 kB / 0.5281 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.01275, allocations: 163.9 kB / 0.5283 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.01277, allocations: 7.984 kB / 0.5283 GB, free: 10.2 MB / 0.4948 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 8.461e-05/0.01286, allocations: 156.6 kB / 0.5284 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.0129, allocations: 11.95 kB / 0.5285 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.01294, allocations: 15.55 kB / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01294, allocations: 0 / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01295, allocations: 7.938 kB / 0.5285 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01295, allocations: 0 / 0.5285 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.01316, allocations: 202.2 kB / 0.5287 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01316, allocations: 0 / 0.5287 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.01365, allocations: 187.8 kB / 0.5288 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01366, allocations: 0 / 0.5288 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.01367, allocations: 3.984 kB / 0.5289 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01368, allocations: 3.984 kB / 0.5289 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01368, allocations: 11.94 kB / 0.5289 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.014, allocations: 255.8 kB / 0.5291 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.01401, allocations: 7.953 kB / 0.5291 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.01403, allocations: 0 / 0.5291 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.0145, allocations: 175.9 kB / 0.5293 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.01452, allocations: 7.922 kB / 0.5293 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.01453, allocations: 7.984 kB / 0.5293 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.01457, allocations: 131.5 kB / 0.5294 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01457, allocations: 0 / 0.5294 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000186/0.01476, allocations: 36 kB / 0.5295 GB, free: 8.945 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 (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.253e-05/0.01484, allocations: 99.25 kB / 0.5296 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01508, allocations: 103.5 kB / 0.5297 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01508, allocations: 0 / 0.5297 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01519, allocations: 51.66 kB / 0.5297 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.01537, allocations: 30.06 kB / 0.5297 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.01577, allocations: 178 kB / 0.5299 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.01581, allocations: 55.36 kB / 0.53 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000148/0.01595, allocations: 39.98 kB / 0.53 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.01615, allocations: 78.17 kB / 0.5301 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01615, allocations: 0 / 0.5301 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of Templates: time 0.003761/0.01991, allocations: 2.831 MB / 0.5328 GB, free: 5.418 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7321187150664628]