Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001843/0.001843, allocations: 85.48 kB / 19.44 MB, free: 344 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.002005/0.002005, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.331/1.331, allocations: 154.6 MB / 414.1 MB, free: 0.6328 MB / 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 178] 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5197 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.288e-05, allocations: 6.25 kB / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001765/0.001798, allocations: 0.6138 MB / 0.5203 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.002246, allocations: 148.2 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.002274, allocations: 0.5625 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.002286, allocations: 0 / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.002314, allocations: 0.5625 kB / 0.5204 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.00264, allocations: 48.7 kB / 0.5205 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.002694, allocations: 11.98 kB / 0.5205 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.002733, allocations: 1.531 kB / 0.5205 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.002774, allocations: 8 kB / 0.5205 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.002851, allocations: 15.91 kB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.002866, allocations: 0 / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-05/0.002966, allocations: 31.97 kB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.002979, allocations: 0.9688 kB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.002995, allocations: 4 kB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.003116, allocations: 45.95 kB / 0.5206 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003118, allocations: 0 / 0.5206 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003119, allocations: 0 / 0.5206 GB, free: 1.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003123, allocations: 0 / 0.5206 GB, free: 1.613 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005027/0.003626, allocations: 356.3 kB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.003665, allocations: 8.031 kB / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.003718, allocations: 5.75 kB / 0.5209 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.003849, allocations: 113.3 kB / 0.521 GB, free: 1.078 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.003876, allocations: 4.375 kB / 0.5211 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.003898, allocations: 1.312 kB / 0.5211 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.00404, allocations: 71.89 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004049, allocations: 192 / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004058, allocations: 1.812 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004065, allocations: 4.375 kB / 0.5211 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.004123, allocations: 19.92 kB / 0.5211 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.004328, allocations: 124.6 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.004453, allocations: 51.83 kB / 0.5213 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.0045, allocations: 20.59 kB / 0.5213 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.004582, allocations: 4 kB / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.004628, allocations: 48.47 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.004629, allocations: 0 / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001453/0.006082, allocations: 420.4 kB / 0.5218 GB, free: 204 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.006132, allocations: 56.31 kB / 0.5218 GB, free: 136 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.00627, allocations: 153.9 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.006295, allocations: 30.45 kB / 0.522 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.006379, allocations: 126.9 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.00642, allocations: 28.69 kB / 0.5222 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.006472, allocations: 23.38 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000569/0.007041, allocations: 0.4889 MB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.007074, allocations: 13.03 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.007097, allocations: 8 kB / 0.5227 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.007179, allocations: 39.67 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.00718, allocations: 5.219 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001302/0.00731, allocations: 77.56 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.007326, allocations: 4 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.007331, allocations: 0.625 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.007348, allocations: 0 / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.007436, allocations: 17.58 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.007445, allocations: 3.938 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.007471, allocations: 4.438 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.007478, allocations: 4 kB / 0.5228 GB, free: 15.06 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 (8): * Single equations (assignments): 8 * 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.0001355/0.007613, allocations: 161.5 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.007626, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.007827, allocations: 86.81 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.007837, allocations: 15.92 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.007843, allocations: 7.375 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007847, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.00799, allocations: 128.6 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007991, allocations: 0 / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.00807, allocations: 8 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.00808, allocations: 7.984 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.008089, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00809, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008091, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.008321, allocations: 139.1 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.008327, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.008341, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.008387, allocations: 8 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.008413, allocations: 3.984 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.008424, allocations: 7.938 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.008491, allocations: 119.2 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008491, allocations: 1.594 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002305/0.008722, allocations: 31.94 kB / 0.5235 GB, free: 14.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002605/0.008982, allocations: 131.2 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.009128, allocations: 48.92 kB / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.009131, allocations: 0 / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.009183, allocations: 31.67 kB / 0.5237 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.009332, allocations: 6.75 kB / 0.5237 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.009742, allocations: 138.2 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.009821, allocations: 71.22 kB / 0.5239 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.00986, allocations: 10.33 kB / 0.5239 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.009895, allocations: 16.5 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.009896, allocations: 0 / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.004234/0.01413, allocations: 0.8893 MB / 0.5248 GB, free: 12.94 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.968756931950338]