Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008989/0.0008989, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009355/0.0009355, allocations: 181 kB / 23.36 MB, free: 1.133 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.9651/0.9651, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8583/0.8583, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0.6562 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.266e-05, allocations: 2.312 kB / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003019/0.003042, allocations: 1.502 MB / 481.5 MB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.003481, allocations: 185.8 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.00352, allocations: 1.312 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.003548, allocations: 0 / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.0036, allocations: 9.25 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.003882, allocations: 40.36 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.003953, allocations: 21.77 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.004032, allocations: 8 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.004092, allocations: 13.41 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.004131, allocations: 9.812 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004146, allocations: 4 kB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.004289, allocations: 35.95 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.004312, allocations: 2.531 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.004334, allocations: 5.203 kB / 481.8 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004467, allocations: 50.28 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.00447, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004471, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004474, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.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.0002714/0.004746, allocations: 241.4 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.004777, allocations: 11.97 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.004803, allocations: 10.36 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.004872, allocations: 101.8 kB / 482.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.004882, allocations: 6.297 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004891, allocations: 4.375 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.636e-05/0.004978, allocations: 51.8 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004983, allocations: 192 / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.004989, allocations: 1.5 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004995, allocations: 1.312 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.005014, allocations: 11.92 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.005195, allocations: 152.9 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/0.005234, allocations: 25.27 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.005247, allocations: 9.688 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.005454, allocations: 54.45 kB / 482.5 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.005474, allocations: 30.56 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.005477, allocations: 6.188 kB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.299e-05/0.00557, allocations: 41.62 kB / 482.6 MB, free: 4.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.005597, allocations: 60.41 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.005649, allocations: 102.7 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005659, allocations: 26.47 kB / 482.8 MB, free: 4.016 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.005686, allocations: 88.75 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.005702, allocations: 8.516 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.005723, allocations: 13.7 kB / 482.9 MB, free: 3.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.122e-05/0.005794, allocations: 315.5 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.0058, allocations: 0 / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.005808, allocations: 4.875 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.00583, allocations: 18.02 kB / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.005832, allocations: 4.625 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.555e-05/0.005867, allocations: 38.36 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.005877, allocations: 4 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.005881, allocations: 0.5312 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005891, allocations: 1.438 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.005931, allocations: 11.92 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.005935, allocations: 5.156 kB / 483.3 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.005947, allocations: 0 / 483.3 MB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.005951, allocations: 0 / 483.3 MB, free: 3.492 MB / 442.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 4.552e-05/0.005996, allocations: 110.8 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.006008, allocations: 4.531 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.006066, allocations: 50.44 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006067, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006069, allocations: 4.562 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.006071, allocations: 2.344 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.006165, allocations: 70.66 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-07/0.006165, allocations: 0 / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.006182, allocations: 7.984 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006184, allocations: 4.938 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.006188, allocations: 0 / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006189, allocations: 0 / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006189, allocations: 1.688 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.53e-05/0.006255, allocations: 132 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-06/0.006262, allocations: 7.953 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.00627, allocations: 0.6875 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.006297, allocations: 0 / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.006328, allocations: 17.14 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.00633, allocations: 1.312 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.319e-05/0.006343, allocations: 12.8 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006343, allocations: 0.75 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001225/0.006465, allocations: 8 kB / 483.7 MB, free: 3.027 MB / 442.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 0.0001047/0.00657, allocations: 90.06 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.902e-05/0.006619, allocations: 12.86 kB / 483.8 MB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.006621, allocations: 0 / 483.8 MB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.006633, allocations: 9.828 kB / 483.8 MB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.006755, allocations: 12.66 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.006953, allocations: 107.3 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.006982, allocations: 59.34 kB / 484 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.311e-05/0.006995, allocations: 1.516 kB / 484 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.007028, allocations: 51.88 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007028, allocations: 0 / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of Templates: time 0.001955/0.008983, allocations: 0.6199 MB / 484.7 MB, free: 2.055 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5730867460370064]