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.0008027/0.0008027, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007949/0.0007949, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8392/0.8392, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-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 0.6957/0.6957, allocations: 154.6 MB / 414.5 MB, free: 0.7812 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.422e-06/1.422e-06, allocations: 0 / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.774e-05, allocations: 4.672 kB / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001014/0.001032, allocations: 0.615 MB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000287/0.001319, allocations: 139.5 kB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.00134, allocations: 0 / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.001355, allocations: 3.938 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.802e-05/0.001373, allocations: 0 / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.001648, allocations: 43.83 kB / 0.6202 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.001696, allocations: 15.98 kB / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.001738, allocations: 4 kB / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.001774, allocations: 7.938 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.001848, allocations: 7.969 kB / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.001868, allocations: 4 kB / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-05/0.001941, allocations: 31.97 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.001954, allocations: 3.938 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.00197, allocations: 7.984 kB / 0.6203 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.002067, allocations: 35.88 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002068, allocations: 0 / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002069, allocations: 0 / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002073, allocations: 7.938 kB / 0.6203 GB, free: 12.14 MB / 0.5886 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.0003046/0.002378, allocations: 254.3 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.002414, allocations: 12.03 kB / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.002444, allocations: 0.9375 kB / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.743e-05/0.002511, allocations: 109.7 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.002521, allocations: 4.375 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.002542, allocations: 384 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.002642, allocations: 67.95 kB / 0.6207 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.00265, allocations: 192 / 0.6207 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.002658, allocations: 384 / 0.6207 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.002662, allocations: 8.375 kB / 0.6207 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.002698, allocations: 19.92 kB / 0.6207 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.002813, allocations: 113.2 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.709e-05/0.00289, allocations: 50.55 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.002915, allocations: 16.98 kB / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.604e-05/0.002981, allocations: 7.984 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.003001, allocations: 34.56 kB / 0.621 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.003002, allocations: 0 / 0.621 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0008192/0.003821, allocations: 399.3 kB / 0.6213 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.003849, allocations: 59.34 kB / 0.6214 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.003892, allocations: 101.8 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003902, allocations: 25.7 kB / 0.6215 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.003922, allocations: 80.14 kB / 0.6216 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.00395, allocations: 27.78 kB / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.00398, allocations: 21.72 kB / 0.6216 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.004055, allocations: 314.8 kB / 0.6219 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.004076, allocations: 12 kB / 0.622 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.004092, allocations: 12 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.004142, allocations: 48.98 kB / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.004142, allocations: 128 / 0.622 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.106e-05/0.004213, allocations: 73.64 kB / 0.6221 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.004223, allocations: 4 kB / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.004227, allocations: 0 / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.004237, allocations: 7.875 kB / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.004292, allocations: 15.98 kB / 0.6221 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.004297, allocations: 3.938 kB / 0.6221 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.00431, allocations: 4 kB / 0.6221 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.004316, allocations: 4 kB / 0.6221 GB, free: 10.04 MB / 0.5886 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 4.979e-05/0.004366, allocations: 110.8 kB / 0.6222 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.004373, allocations: 4 kB / 0.6222 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.004487, allocations: 81.58 kB / 0.6223 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.004489, allocations: 4 kB / 0.6223 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.004493, allocations: 3.938 kB / 0.6223 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.004497, allocations: 3.984 kB / 0.6223 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.424e-05/0.004561, allocations: 113.3 kB / 0.6224 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004562, allocations: 0 / 0.6224 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.004609, allocations: 12 kB / 0.6224 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.004612, allocations: 3.984 kB / 0.6224 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.004618, allocations: 192 / 0.6224 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004619, allocations: 4 kB / 0.6224 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.00462, allocations: 4 kB / 0.6225 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.004744, allocations: 120.9 kB / 0.6226 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.004749, allocations: 0 / 0.6226 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.00476, allocations: 8.031 kB / 0.6226 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.004783, allocations: 0 / 0.6226 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.0048, allocations: 7.984 kB / 0.6226 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.004805, allocations: 3.938 kB / 0.6226 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.004826, allocations: 79.28 kB / 0.6227 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004826, allocations: 0 / 0.6227 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001429/0.004969, allocations: 32.09 kB / 0.6227 GB, free: 9.387 MB / 0.5886 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.0001333/0.005103, allocations: 135.2 kB / 0.6228 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.005185, allocations: 35.92 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005187, allocations: 0 / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.005208, allocations: 23.98 kB / 0.6229 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.005309, allocations: 4 kB / 0.6229 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.005548, allocations: 154.6 kB / 0.623 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.005587, allocations: 73.41 kB / 0.6231 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.005607, allocations: 20.44 kB / 0.6231 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.005607, allocations: 4 kB / 0.6231 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.001636/0.007243, allocations: 0.936 MB / 0.624 GB, free: 7.949 MB / 0.5886 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 os._exit(0), Time elapsed: 4.826021941378713] Failed to read output from testmodel.py, exit status != 0: 0.011464079841971397 0.019142598 0.015443032 Calling exit ...