Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001514/0.001514, allocations: 82.05 kB / 19.18 MB, free: 2.527 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.001573/0.001573, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.203 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.203/1.203, allocations: 154.6 MB / 413.8 MB, free: 5.254 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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.766e-05, allocations: 7.312 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001668/0.001695, allocations: 0.6158 MB / 0.6192 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.004028, allocations: 1.439 MB / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.004068, allocations: 0 / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.169e-05/0.004139, allocations: 0 / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.00419, allocations: 7.984 kB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.005072, allocations: 219.4 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.005182, allocations: 31.97 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.005232, allocations: 7.938 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.005289, allocations: 15.98 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.005353, allocations: 19.97 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005369, allocations: 4 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.005911, allocations: 267.5 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.005959, allocations: 8 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.006, allocations: 15.92 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.006433, allocations: 259.4 kB / 0.6215 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006438, allocations: 0 / 0.6215 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006439, allocations: 0 / 0.6215 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.00645, allocations: 0 / 0.6215 GB, free: 1.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005578/0.007008, allocations: 335.5 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.007053, allocations: 11.97 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.007096, allocations: 8.891 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.007246, allocations: 113.7 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.007257, allocations: 4.359 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.007279, allocations: 12.38 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.007493, allocations: 99.92 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.007504, allocations: 192 / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.007516, allocations: 384 / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.007523, allocations: 3.938 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.007616, allocations: 69.61 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.007782, allocations: 113.3 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.00792, allocations: 84.25 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.008014, allocations: 74.56 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.008024, allocations: 0 / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.008052, allocations: 34.56 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.008053, allocations: 0 / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.008479, allocations: 250.6 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.008542, allocations: 85.05 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.008662, allocations: 113.8 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.008699, allocations: 29.7 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.008751, allocations: 84.12 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.0088, allocations: 31.89 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.008845, allocations: 17.72 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.009039, allocations: 318.8 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.009125, allocations: 65.67 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.009198, allocations: 69.7 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.009375, allocations: 148.2 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009377, allocations: 3.938 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002517/0.009629, allocations: 177.7 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.009671, allocations: 37.69 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009678, allocations: 3.984 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.009692, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.009693, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.009701, allocations: 3.938 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.009815, allocations: 11.94 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.009839, allocations: 12.06 kB / 0.6238 GB, free: 14.95 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001267/0.009966, allocations: 152.5 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.009983, allocations: 7.984 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.009999, allocations: 8.438 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.01, allocations: 0 / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.01001, allocations: 3.938 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01001, allocations: 0 / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.01011, allocations: 117.2 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01011, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01011, allocations: 3.938 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01011, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.01013, allocations: 8 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01013, allocations: 3.984 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01013, allocations: 3.938 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01043, allocations: 232.4 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01044, allocations: 7.953 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01046, allocations: 8 kB / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.0105, allocations: 7.984 kB / 0.6243 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.01052, allocations: 0 / 0.6243 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01053, allocations: 11.94 kB / 0.6243 GB, free: 14.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.01059, allocations: 91.27 kB / 0.6244 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01059, allocations: 4.031 kB / 0.6244 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000317/0.01091, allocations: 71.86 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003399/0.01125, allocations: 171.1 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.01157, allocations: 230.6 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01157, allocations: 0 / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.01172, allocations: 149 kB / 0.625 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01189, allocations: 7.719 kB / 0.625 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.01226, allocations: 197.4 kB / 0.6252 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.82e-05/0.01234, allocations: 79.39 kB / 0.6253 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.851e-06/0.01235, allocations: 0 / 0.6253 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.01236, allocations: 12.44 kB / 0.6253 GB, free: 13.22 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01236, allocations: 0 / 0.6253 GB, free: 13.22 MB / 0.545 GB Notification: Performance of Templates: time 0.005621/0.01798, allocations: 2.094 MB / 0.6274 GB, free: 11.15 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.816105347126722] Failed to read output from testmodel.py, exit status != 0: 0.027362074702978134 0.042710129 0.032998684 Calling exit ...