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.0008917/0.0008917, allocations: 92.31 kB / 20.19 MB, free: 4.352 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.001098/0.001098, allocations: 169 kB / 23.49 MB, free: 1.047 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.9478/0.9478, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8194/0.8194, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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 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.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.573e-06/1.573e-06, allocations: 3.938 kB / 0.5204 GB, free: 2.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.658e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001009/0.001026, allocations: 0.6176 MB / 0.521 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.001292, allocations: 149.6 kB / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.001312, allocations: 0 / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.001322, allocations: 1.172 kB / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.383e-05/0.001336, allocations: 0 / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.001553, allocations: 48.73 kB / 0.5212 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.001593, allocations: 7.984 kB / 0.5212 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.745e-05/0.00162, allocations: 9.75 kB / 0.5212 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.001642, allocations: 7.984 kB / 0.5212 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.001692, allocations: 7.984 kB / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.001702, allocations: 0 / 0.5212 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.001758, allocations: 31.97 kB / 0.5213 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.00177, allocations: 4.5 kB / 0.5213 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.001785, allocations: 12.47 kB / 0.5213 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.001862, allocations: 35.88 kB / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.001864, allocations: 1.031 kB / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001865, allocations: 0 / 0.5213 GB, free: 1.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.001869, allocations: 4.969 kB / 0.5213 GB, free: 1.539 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.0002718/0.002141, allocations: 352.3 kB / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.002178, allocations: 12.03 kB / 0.5217 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.002209, allocations: 5.562 kB / 0.5217 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.002291, allocations: 113.9 kB / 0.5218 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.002299, allocations: 384 / 0.5218 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.002318, allocations: 4.719 kB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.676e-05/0.002405, allocations: 68.56 kB / 0.5218 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.00241, allocations: 4.188 kB / 0.5218 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.002417, allocations: 1.906 kB / 0.5218 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.002424, allocations: 384 / 0.5218 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.002455, allocations: 19.94 kB / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.002573, allocations: 120.6 kB / 0.522 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/0.002654, allocations: 51.64 kB / 0.522 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.002678, allocations: 17.09 kB / 0.522 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.002739, allocations: 16.05 kB / 0.5221 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.002757, allocations: 33.39 kB / 0.5221 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 6.41e-07/0.002758, allocations: 0 / 0.5221 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.000782/0.00354, allocations: 415.5 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.003563, allocations: 55.34 kB / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.003634, allocations: 151.5 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.003644, allocations: 29.7 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.003675, allocations: 134.9 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.003697, allocations: 19.8 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.003726, allocations: 28.41 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.003852, allocations: 496.1 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.003876, allocations: 12 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.003893, allocations: 13.12 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.003937, allocations: 31.69 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.003938, allocations: 448 / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.989e-05/0.004008, allocations: 70.17 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.004017, allocations: 5.031 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.00402, allocations: 0 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.004028, allocations: 0 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.00408, allocations: 24.98 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.004084, allocations: 3.938 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.004097, allocations: 4 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.0041, allocations: 0.75 kB / 0.5235 GB, free: 15.02 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 5.516e-05/0.004155, allocations: 163.3 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-06/0.004163, allocations: 0 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.004267, allocations: 85.56 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.004268, allocations: 0 / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.004272, allocations: 3.938 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.004275, allocations: 0 / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.585e-05/0.004341, allocations: 120.6 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004342, allocations: 2.906 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.004387, allocations: 19.97 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.004388, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.004393, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004394, allocations: 3.938 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004395, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.004506, allocations: 124.6 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.00451, allocations: 4 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.004518, allocations: 1.469 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.004536, allocations: 8 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.004549, allocations: 3.984 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.004557, allocations: 8.438 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.004592, allocations: 122.5 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.004592, allocations: 0 / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002097/0.004802, allocations: 35.92 kB / 0.5242 GB, free: 14.27 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.0001393/0.004941, allocations: 127.2 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.005036, allocations: 47.66 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005038, allocations: 0 / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.005068, allocations: 31.67 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.701e-05/0.005155, allocations: 2.469 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.005363, allocations: 142.1 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.664e-05/0.00539, allocations: 63.28 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.005411, allocations: 5 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.005434, allocations: 16.48 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.005434, allocations: 2.062 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.002164/0.007598, allocations: 0.8909 MB / 0.5255 GB, free: 12.93 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: 3.865198340965435]