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.001304/0.001304, allocations: 92.22 kB / 19.65 MB, free: 276 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.001504/0.001504, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7934/0.7934, allocations: 154.6 MB / 414.5 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.803e-06/1.803e-06, allocations: 0 / 0.5204 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.178e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00129/0.001312, allocations: 0.6167 MB / 0.521 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.001655, allocations: 149 kB / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.001682, allocations: 1.344 kB / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.001701, allocations: 0 / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.139e-05/0.001722, allocations: 0.7656 kB / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.002028, allocations: 40.33 kB / 0.5212 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.002084, allocations: 20.69 kB / 0.5212 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.002125, allocations: 1.031 kB / 0.5212 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.002158, allocations: 11.98 kB / 0.5212 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.002226, allocations: 9.109 kB / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.002243, allocations: 0 / 0.5212 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.002318, allocations: 27.97 kB / 0.5212 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.002334, allocations: 4.625 kB / 0.5212 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.002353, allocations: 11.97 kB / 0.5213 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.002465, allocations: 45.47 kB / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002467, allocations: 0 / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002468, allocations: 0 / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.002473, allocations: 0 / 0.5213 GB, free: 1.219 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.0003483/0.002821, allocations: 358.1 kB / 0.5216 GB, free: 0.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.00286, allocations: 8.031 kB / 0.5216 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.002901, allocations: 4.938 kB / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.969e-05/0.002991, allocations: 104.6 kB / 0.5217 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.003007, allocations: 8.375 kB / 0.5218 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.003032, allocations: 10.41 kB / 0.5218 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.003134, allocations: 71.94 kB / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003142, allocations: 192 / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003151, allocations: 384 / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.003158, allocations: 384 / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.003187, allocations: 12.69 kB / 0.5218 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.003316, allocations: 120.6 kB / 0.522 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.003413, allocations: 52.45 kB / 0.522 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.003442, allocations: 19.81 kB / 0.522 GB, free: 352 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/0.003516, allocations: 7.984 kB / 0.522 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003536, allocations: 34.73 kB / 0.5221 GB, free: 300 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.003537, allocations: 3.984 kB / 0.5221 GB, free: 296 kB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008921/0.004429, allocations: 418.7 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.00446, allocations: 55.91 kB / 0.5225 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.004523, allocations: 158.9 kB / 0.5227 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004533, allocations: 25.7 kB / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.004563, allocations: 131.8 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.004591, allocations: 23.8 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.004623, allocations: 26.62 kB / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.004728, allocations: 0.4923 MB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.004747, allocations: 7.938 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.004762, allocations: 11.98 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.004811, allocations: 35.67 kB / 0.5234 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.004812, allocations: 0 / 0.5234 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.721e-05/0.004889, allocations: 65.64 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.004903, allocations: 8 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004908, allocations: 3.938 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.00492, allocations: 2.906 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.004986, allocations: 15.98 kB / 0.5235 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.004992, allocations: 3.938 kB / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.005005, allocations: 0 / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005011, allocations: 4 kB / 0.5235 GB, free: 14.7 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.059e-05/0.005071, allocations: 156.6 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.00508, allocations: 4 kB / 0.5237 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.005208, allocations: 87.36 kB / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.00521, allocations: 0 / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.005215, allocations: 3.938 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005218, allocations: 4.531 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.005298, allocations: 116.6 kB / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.005299, allocations: 0.8438 kB / 0.5239 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.005354, allocations: 19.98 kB / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.005357, allocations: 0.5 kB / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.005368, allocations: 6.25 kB / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00537, allocations: 0 / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.005371, allocations: 0 / 0.5239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.005785, allocations: 124.2 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-06/0.005791, allocations: 0 / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.005802, allocations: 4 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.005823, allocations: 2.438 kB / 0.524 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.005841, allocations: 7.984 kB / 0.524 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.005849, allocations: 7.938 kB / 0.524 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.005878, allocations: 119.2 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005878, allocations: 0 / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001495/0.006027, allocations: 31.92 kB / 0.5242 GB, free: 13.95 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.0001459/0.006173, allocations: 137.1 kB / 0.5243 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.006281, allocations: 47.59 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006283, allocations: 0 / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.006304, allocations: 23.67 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.006415, allocations: 13.84 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.006671, allocations: 136.6 kB / 0.5245 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.006702, allocations: 63.3 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.006731, allocations: 4 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.006755, allocations: 19.2 kB / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.006756, allocations: 0 / 0.5246 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.002932/0.009688, allocations: 0.9782 MB / 0.5256 GB, free: 12.54 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.8774070818908513]