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.0008552/0.0008552, allocations: 87.56 kB / 20.2 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.0008964/0.0008964, allocations: 158 kB / 23.51 MB, free: 1.035 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.9481/0.9481, allocations: 177.2 MB / 203.9 MB, free: 5.598 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.7572/0.7572, allocations: 154.6 MB / 414.9 MB, free: 0.6641 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.072e-06/1.072e-06, allocations: 0 / 0.5204 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.837e-05, allocations: 5.594 kB / 0.5204 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009916/0.00101, allocations: 0.6145 MB / 0.521 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.001313, allocations: 146.1 kB / 0.5212 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.001336, allocations: 0 / 0.5212 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.001348, allocations: 1.094 kB / 0.5212 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.987e-05/0.001368, allocations: 0 / 0.5212 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.001707, allocations: 40.38 kB / 0.5212 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.001763, allocations: 18.02 kB / 0.5212 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.001806, allocations: 8 kB / 0.5212 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.001838, allocations: 16.94 kB / 0.5212 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.001901, allocations: 0 / 0.5212 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.001922, allocations: 4 kB / 0.5212 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.001993, allocations: 33.47 kB / 0.5213 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.002006, allocations: 3.984 kB / 0.5213 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.002021, allocations: 3.984 kB / 0.5213 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.002119, allocations: 43.81 kB / 0.5213 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00212, allocations: 1.125 kB / 0.5213 GB, free: 1.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002121, allocations: 0 / 0.5213 GB, free: 1.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002125, allocations: 0 / 0.5213 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.0003053/0.00243, allocations: 255 kB / 0.5216 GB, free: 1.332 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.002465, allocations: 9.312 kB / 0.5216 GB, free: 1.324 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.002508, allocations: 8.938 kB / 0.5216 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.002584, allocations: 109.8 kB / 0.5217 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.002596, allocations: 1.5 kB / 0.5217 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.002616, allocations: 384 / 0.5217 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.002739, allocations: 71.89 kB / 0.5218 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.002746, allocations: 0.9688 kB / 0.5218 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.002758, allocations: 4.375 kB / 0.5218 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.002766, allocations: 1.219 kB / 0.5218 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.002812, allocations: 19.92 kB / 0.5218 GB, free: 1.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.00295, allocations: 105.3 kB / 0.5219 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.003033, allocations: 45.19 kB / 0.5219 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.003064, allocations: 24.91 kB / 0.5219 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.003136, allocations: 4 kB / 0.522 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.003161, allocations: 34.56 kB / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.003162, allocations: 0 / 0.522 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009564/0.004119, allocations: 411.5 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.004148, allocations: 59.34 kB / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.0042, allocations: 95.31 kB / 0.5225 GB, free: 200 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.004211, allocations: 29.7 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.004236, allocations: 80.14 kB / 0.5226 GB, free: 80 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.004264, allocations: 28.58 kB / 0.5227 GB, free: 52 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.004293, allocations: 21.7 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.004389, allocations: 315.5 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.00441, allocations: 8 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.004429, allocations: 17.08 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.183e-05/0.004481, allocations: 40.84 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.004482, allocations: 0 / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.058e-05/0.004562, allocations: 74.3 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.004577, allocations: 9.656 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004582, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.004598, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.141e-05/0.004659, allocations: 19.92 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.004667, allocations: 3.938 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.00468, allocations: 1.312 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.004686, allocations: 4 kB / 0.5231 GB, free: 15.53 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.851e-05/0.004745, allocations: 111 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.004755, allocations: 7.984 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.004903, allocations: 86.12 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.004904, allocations: 6.812 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.004909, allocations: 7.938 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.004913, allocations: 0 / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.059e-05/0.004983, allocations: 109.3 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004984, allocations: 0 / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.005034, allocations: 15.98 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005036, allocations: 0 / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.005043, allocations: 4 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005044, allocations: 3.031 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.005046, allocations: 4 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.005179, allocations: 121.3 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.005185, allocations: 4.031 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.005199, allocations: 4 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.582e-05/0.005225, allocations: 4 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.005242, allocations: 3.984 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.00525, allocations: 7.938 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.005273, allocations: 76.69 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005273, allocations: 0 / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001657/0.005439, allocations: 35.92 kB / 0.5237 GB, free: 14.88 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.0001429/0.005582, allocations: 132.4 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.005679, allocations: 40.77 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00568, allocations: 0 / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.005701, allocations: 16 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.005828, allocations: 17.03 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.006073, allocations: 132.5 kB / 0.5241 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.006113, allocations: 67.28 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.006139, allocations: 6.438 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.006158, allocations: 16.48 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/0.006159, allocations: 0 / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002273/0.008432, allocations: 0.8647 MB / 0.525 GB, free: 13.59 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=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.6916690776124597] Failed to read output from testmodel.py, exit status != 0: 0.013130556792020798 0.021885835000000003 0.017972698000000002 Calling exit ...