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.001422/0.001422, allocations: 93.06 kB / 19.65 MB, free: 280 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.001787/0.001787, allocations: 165 kB / 23.02 MB, free: 1.555 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.9828/0.9828, allocations: 177.1 MB / 203.4 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.8659/0.8659, allocations: 154.6 MB / 414.5 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 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.753e-06/1.753e-06, allocations: 0 / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.416e-05, allocations: 3.469 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00143/0.001454, allocations: 0.6249 MB / 0.521 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.0019, allocations: 146.2 kB / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.001932, allocations: 0 / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.001957, allocations: 0.7188 kB / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.463e-05/0.001982, allocations: 0 / 0.5211 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.002332, allocations: 44.94 kB / 0.5212 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.002387, allocations: 13.47 kB / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.002428, allocations: 8.953 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.002458, allocations: 12.58 kB / 0.5212 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.002523, allocations: 4 kB / 0.5212 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.002538, allocations: 1.219 kB / 0.5212 GB, free: 1.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.622e-05/0.002614, allocations: 31.97 kB / 0.5212 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002629, allocations: 7.969 kB / 0.5212 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002647, allocations: 8.5 kB / 0.5213 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002748, allocations: 31.88 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00275, allocations: 1.781 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002751, allocations: 4 kB / 0.5213 GB, free: 1.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.002755, allocations: 0 / 0.5213 GB, free: 1.238 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.000344/0.003099, allocations: 360.2 kB / 0.5216 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.003138, allocations: 13.75 kB / 0.5216 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.003178, allocations: 0.9375 kB / 0.5217 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.003261, allocations: 108.6 kB / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003273, allocations: 384 / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.003302, allocations: 10.27 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.003414, allocations: 71.89 kB / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003421, allocations: 192 / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003431, allocations: 384 / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.003439, allocations: 384 / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.003475, allocations: 20.67 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.003609, allocations: 116.6 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.003702, allocations: 52.52 kB / 0.522 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.003731, allocations: 23.8 kB / 0.522 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.003809, allocations: 7.984 kB / 0.522 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.003833, allocations: 34.73 kB / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.003834, allocations: 0 / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001172/0.005006, allocations: 414.2 kB / 0.5225 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.005043, allocations: 55.91 kB / 0.5225 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.005119, allocations: 162.4 kB / 0.5227 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.005131, allocations: 30.45 kB / 0.5227 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.005167, allocations: 126.9 kB / 0.5228 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.005202, allocations: 28.38 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.005237, allocations: 28.83 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005351, allocations: 492.1 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.00537, allocations: 12 kB / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.005387, allocations: 11.98 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.00544, allocations: 28.62 kB / 0.5234 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.005441, allocations: 4 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.716e-05/0.005529, allocations: 65.64 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.005543, allocations: 6.906 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005547, allocations: 0 / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.005566, allocations: 11.92 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.005633, allocations: 8 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.00564, allocations: 8.312 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.005653, allocations: 4 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005658, allocations: 0 / 0.5235 GB, free: 14.72 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 6.066e-05/0.005719, allocations: 163.3 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.005729, allocations: 4 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.005863, allocations: 93.84 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.005867, allocations: 0 / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005871, allocations: 3.938 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005874, allocations: 0 / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.62e-05/0.005951, allocations: 117.3 kB / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005952, allocations: 0 / 0.5239 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.006002, allocations: 17.17 kB / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.006004, allocations: 0 / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.006011, allocations: 0 / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006013, allocations: 0.6875 kB / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.006015, allocations: 4 kB / 0.5239 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006158, allocations: 129.9 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.006166, allocations: 0 / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006179, allocations: 4 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.006205, allocations: 4 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.006224, allocations: 6.422 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.006231, allocations: 7.938 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.006269, allocations: 119.2 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006269, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001839/0.006453, allocations: 35.92 kB / 0.5242 GB, free: 13.96 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.0001952/0.006648, allocations: 133.7 kB / 0.5243 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.006766, allocations: 35.61 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.006771, allocations: 4 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.006805, allocations: 31.66 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.006938, allocations: 8 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.007216, allocations: 130.2 kB / 0.5245 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.007247, allocations: 60.27 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.007275, allocations: 5 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.007301, allocations: 27.11 kB / 0.5246 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.007302, allocations: 0 / 0.5246 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.002645/0.009947, allocations: 0.9036 MB / 0.5255 GB, free: 12.62 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: 4.051637165714055]