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.001842/0.001842, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.0023/0.0023, allocations: 167.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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-531:686: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-531:694: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.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.191 MB / 382.1 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.814e-06/1.814e-06, allocations: 0 / 0.6186 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.119e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001686/0.001717, allocations: 0.5984 MB / 0.6192 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.002145, allocations: 147.5 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.002175, allocations: 0 / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.00219, allocations: 0 / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.00222, allocations: 3.938 kB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.002576, allocations: 47.77 kB / 0.6194 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.002637, allocations: 15.97 kB / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.00269, allocations: 8 kB / 0.6194 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.002739, allocations: 11.98 kB / 0.6195 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.002809, allocations: 0 / 0.6195 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.002827, allocations: 4 kB / 0.6195 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.002919, allocations: 35.95 kB / 0.6195 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.002939, allocations: 7.922 kB / 0.6195 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.002959, allocations: 4 kB / 0.6195 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003074, allocations: 31.94 kB / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003076, allocations: 0 / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003077, allocations: 0 / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.00308, allocations: 4 kB / 0.6195 GB, free: 3.562 MB / 0.5294 GB 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.000415/0.003495, allocations: 258.3 kB / 0.6198 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.003538, allocations: 8.031 kB / 0.6198 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.003572, allocations: 4.938 kB / 0.6198 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.003694, allocations: 109.7 kB / 0.6199 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.003715, allocations: 16.31 kB / 0.6199 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.003739, allocations: 384 / 0.6199 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.003875, allocations: 67.95 kB / 0.62 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.003887, allocations: 4.172 kB / 0.62 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003896, allocations: 384 / 0.62 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003902, allocations: 8.375 kB / 0.62 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.003952, allocations: 19.92 kB / 0.62 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.004114, allocations: 101.3 kB / 0.6201 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.004223, allocations: 46.56 kB / 0.6202 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.004263, allocations: 20.97 kB / 0.6202 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.004341, allocations: 4 kB / 0.6202 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.004371, allocations: 38.44 kB / 0.6202 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.004372, allocations: 0 / 0.6202 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.00128/0.005652, allocations: 407.4 kB / 0.6206 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.005699, allocations: 63.34 kB / 0.6207 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.005772, allocations: 93.84 kB / 0.6208 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.005796, allocations: 29.7 kB / 0.6208 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.00583, allocations: 80.14 kB / 0.6209 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.005867, allocations: 19.86 kB / 0.6209 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.00591, allocations: 25.7 kB / 0.6209 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.006054, allocations: 310.8 kB / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.00609, allocations: 19.94 kB / 0.6212 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.006118, allocations: 15.98 kB / 0.6212 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.006185, allocations: 28.86 kB / 0.6213 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006185, allocations: 4.125 kB / 0.6213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001306/0.006316, allocations: 77.84 kB / 0.6213 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.006333, allocations: 11.98 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006337, allocations: 0 / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.006352, allocations: 0 / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.006434, allocations: 15.94 kB / 0.6214 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.006442, allocations: 3.938 kB / 0.6214 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.006464, allocations: 0 / 0.6214 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.006475, allocations: 8 kB / 0.6214 GB, free: 1.449 MB / 0.5294 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 8.657e-05/0.006562, allocations: 106.8 kB / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.006578, allocations: 11.98 kB / 0.6215 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.006771, allocations: 81.58 kB / 0.6216 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.006775, allocations: 4 kB / 0.6216 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.006781, allocations: 3.938 kB / 0.6216 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006785, allocations: 0 / 0.6216 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.006901, allocations: 109.3 kB / 0.6217 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.006903, allocations: 0 / 0.6217 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.006992, allocations: 19.92 kB / 0.6217 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006995, allocations: 0 / 0.6217 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.007006, allocations: 4 kB / 0.6217 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007008, allocations: 4 kB / 0.6217 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007009, allocations: 7.875 kB / 0.6217 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.007219, allocations: 117 kB / 0.6218 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.007224, allocations: 0 / 0.6218 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.007242, allocations: 4.031 kB / 0.6218 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.007291, allocations: 7.984 kB / 0.6218 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.007317, allocations: 7.938 kB / 0.6218 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.007325, allocations: 3.938 kB / 0.6219 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.007366, allocations: 75.28 kB / 0.6219 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.007366, allocations: 0 / 0.6219 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002335/0.007599, allocations: 36.08 kB / 0.622 GB, free: 0.7891 MB / 0.5294 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.0002257/0.007825, allocations: 135.2 kB / 0.6221 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007944, allocations: 35.98 kB / 0.6221 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007946, allocations: 0 / 0.6221 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.007981, allocations: 19.94 kB / 0.6221 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.008144, allocations: 7.984 kB / 0.6221 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.008498, allocations: 136.8 kB / 0.6223 GB, free: 436 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.631e-05/0.008575, allocations: 71.19 kB / 0.6223 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.008609, allocations: 11.98 kB / 0.6224 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.008636, allocations: 12.5 kB / 0.6224 GB, free: 320 kB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.008637, allocations: 0 / 0.6224 GB, free: 320 kB / 0.5294 GB Notification: Performance of Templates: time 0.003483/0.01212, allocations: 0.8723 MB / 0.6232 GB, free: 15.46 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.766607154160738] Failed to read output from testmodel.py, exit status != 0: 0.02080688253045082 0.034912233 0.028873506 Calling exit ...