Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001318/0.001318, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001276/0.001276, allocations: 169.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 0.9682/0.9682, 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.8695/0.8695, allocations: 154.9 MB / 415.1 MB, free: 272 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.529e-05, allocations: 6.25 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002984/0.00301, allocations: 1.487 MB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005862/0.003596, allocations: 192.2 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.003652, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.003692, allocations: 2.109 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.003767, allocations: 8.422 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.004179, allocations: 45.14 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.004271, allocations: 19.94 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.004387, allocations: 11.97 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.004465, allocations: 8 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.004516, allocations: 14.67 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.004535, allocations: 0 / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.004649, allocations: 27.97 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.004672, allocations: 11.94 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.004693, allocations: 3.984 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.004851, allocations: 43.88 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004854, allocations: 0 / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.004855, allocations: 0.5312 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.004861, allocations: 0 / 0.523 GB, free: 15.65 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.0004962/0.005357, allocations: 370 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.005416, allocations: 15.97 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.005452, allocations: 0.9375 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.00556, allocations: 114.2 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005571, allocations: 384 / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.00558, allocations: 4.375 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.00571, allocations: 50.95 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.00572, allocations: 1.125 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.00573, allocations: 4.375 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.005737, allocations: 384 / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.005762, allocations: 9.328 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.006037, allocations: 236.3 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.006085, allocations: 31 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.006102, allocations: 12.91 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.006161, allocations: 8.031 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.006185, allocations: 42.08 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.006186, allocations: 0 / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001246/0.00631, allocations: 46.84 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.006342, allocations: 55.41 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.006416, allocations: 161.9 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.006426, allocations: 26.86 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.006473, allocations: 126.9 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.006491, allocations: 15.94 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.006517, allocations: 19.92 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.006643, allocations: 498 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.006652, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.006659, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.006683, allocations: 11.69 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006685, allocations: 1.625 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.912e-05/0.006734, allocations: 49.62 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006746, allocations: 6.5 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006751, allocations: 0 / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006763, allocations: 6.75 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.006818, allocations: 4 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.006821, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.006838, allocations: 7.984 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.006842, allocations: 0 / 0.5248 GB, free: 13.57 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 7.305e-05/0.006915, allocations: 160.5 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.00693, allocations: 5.391 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.007001, allocations: 45 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007003, allocations: 3.938 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007005, allocations: 0 / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007008, allocations: 4.438 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.694e-05/0.007095, allocations: 98.28 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007096, allocations: 0 / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.007116, allocations: 7.984 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.007119, allocations: 5.156 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.007123, allocations: 0 / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007123, allocations: 0 / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.007124, allocations: 0.5 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.731e-05/0.007211, allocations: 188.4 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.007218, allocations: 6.125 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.007225, allocations: 256 / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.007255, allocations: 8 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.00728, allocations: 3.984 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.007283, allocations: 3.938 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.00732, allocations: 123.2 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00732, allocations: 2.438 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001446/0.007465, allocations: 15.88 kB / 0.5255 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 (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 0.0001121/0.007577, allocations: 107.2 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.784e-05/0.007635, allocations: 15.69 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007636, allocations: 2.125 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.007652, allocations: 15.67 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.007841, allocations: 4 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.008049, allocations: 107.4 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.008085, allocations: 67.22 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.0081, allocations: 0.9375 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.008142, allocations: 70.2 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.008143, allocations: 3.25 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.002234/0.01038, allocations: 0.6797 MB / 0.5265 GB, free: 11.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.636362844146788]