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.0008542/0.0008542, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.000989/0.000989, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.044/1.044, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.8112/0.8112, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.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 2.835e-06/2.835e-06, allocations: 0 / 0.5208 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.476e-05/4.76e-05, allocations: 3.078 kB / 0.5208 GB, free: 0.707 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001607/0.001654, allocations: 0.6274 MB / 0.5214 GB, free: 104 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.003443, allocations: 1.465 MB / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.003477, allocations: 0 / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/0.003532, allocations: 0 / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.003573, allocations: 1.375 kB / 0.5229 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.004272, allocations: 228.5 kB / 0.5231 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.004348, allocations: 31.97 kB / 0.5231 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.004384, allocations: 1.469 kB / 0.5231 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.004426, allocations: 19.98 kB / 0.5231 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.004477, allocations: 27.89 kB / 0.5232 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.004489, allocations: 0 / 0.5232 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.004868, allocations: 260.9 kB / 0.5234 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.004901, allocations: 11.92 kB / 0.5234 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.004926, allocations: 8 kB / 0.5234 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.005199, allocations: 271.3 kB / 0.5237 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.005202, allocations: 3.531 kB / 0.5237 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005203, allocations: 0 / 0.5237 GB, free: 13.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005207, allocations: 0 / 0.5237 GB, free: 13.79 MB / 458.7 MB 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.0003028/0.00551, allocations: 430 kB / 0.5241 GB, free: 13.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005543, allocations: 8.031 kB / 0.5241 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.005574, allocations: 12.89 kB / 0.5241 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.005646, allocations: 116.5 kB / 0.5242 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.005655, allocations: 4.375 kB / 0.5242 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.005663, allocations: 384 / 0.5242 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.005753, allocations: 80.48 kB / 0.5243 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.005758, allocations: 0.75 kB / 0.5243 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005764, allocations: 4.375 kB / 0.5243 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00577, allocations: 4.906 kB / 0.5243 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.005794, allocations: 41.69 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.536e-05/0.005879, allocations: 106.7 kB / 0.5245 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.005935, allocations: 68.77 kB / 0.5245 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.00596, allocations: 49.41 kB / 0.5246 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.005965, allocations: 4 kB / 0.5246 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.005986, allocations: 38.19 kB / 0.5246 GB, free: 12.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.005987, allocations: 0 / 0.5246 GB, free: 12.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003753/0.006362, allocations: 179.6 kB / 0.5248 GB, free: 12.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.006396, allocations: 89.05 kB / 0.5249 GB, free: 12.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.006465, allocations: 175.6 kB / 0.525 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006476, allocations: 25.7 kB / 0.5251 GB, free: 12.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.006511, allocations: 134.9 kB / 0.5252 GB, free: 12.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.006542, allocations: 27.78 kB / 0.5252 GB, free: 12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.006574, allocations: 23.38 kB / 0.5252 GB, free: 11.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.006678, allocations: 0.493 MB / 0.5257 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.006707, allocations: 41.69 kB / 0.5258 GB, free: 11.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.006731, allocations: 42.84 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.006788, allocations: 95.08 kB / 0.5259 GB, free: 11.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.00679, allocations: 0 / 0.5259 GB, free: 11.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.006894, allocations: 138.3 kB / 0.526 GB, free: 11.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.006924, allocations: 37.69 kB / 0.5261 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006929, allocations: 0 / 0.5261 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.006936, allocations: 6.375 kB / 0.5261 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.006937, allocations: 0 / 0.5261 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.00694, allocations: 0 / 0.5261 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.006989, allocations: 19.81 kB / 0.5261 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.007005, allocations: 8 kB / 0.5261 GB, free: 11.04 MB / 458.7 MB 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 7.335e-05/0.007078, allocations: 190.3 kB / 0.5263 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.00709, allocations: 10.75 kB / 0.5263 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.007104, allocations: 8.438 kB / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007106, allocations: 0 / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007108, allocations: 0 / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007111, allocations: 3.938 kB / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.358e-05/0.007174, allocations: 109.2 kB / 0.5264 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007175, allocations: 0 / 0.5264 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.007176, allocations: 1.281 kB / 0.5264 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007177, allocations: 0 / 0.5264 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.007185, allocations: 8 kB / 0.5264 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.007187, allocations: 3.984 kB / 0.5264 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007188, allocations: 0.9375 kB / 0.5264 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.007333, allocations: 196.3 kB / 0.5266 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.00734, allocations: 8.891 kB / 0.5266 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.00735, allocations: 4 kB / 0.5266 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.374e-05/0.007374, allocations: 15.91 kB / 0.5266 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.007386, allocations: 8.719 kB / 0.5266 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.007394, allocations: 4 kB / 0.5266 GB, free: 10.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.007428, allocations: 131.8 kB / 0.5268 GB, free: 10.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007428, allocations: 1.062 kB / 0.5268 GB, free: 10.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.007666, allocations: 71.88 kB / 0.5268 GB, free: 10.21 MB / 458.7 MB 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.0002295/0.007895, allocations: 173.6 kB / 0.527 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.008048, allocations: 182.4 kB / 0.5272 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008049, allocations: 0 / 0.5272 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.008106, allocations: 128.8 kB / 0.5273 GB, free: 9.676 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.008216, allocations: 18.58 kB / 0.5273 GB, free: 9.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.008434, allocations: 171.1 kB / 0.5275 GB, free: 9.461 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.008465, allocations: 59.34 kB / 0.5275 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.436e-06/0.008474, allocations: 0 / 0.5275 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.008541, allocations: 86.2 kB / 0.5276 GB, free: 9.297 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008542, allocations: 0 / 0.5276 GB, free: 9.297 MB / 458.7 MB Notification: Performance of Templates: time 0.004361/0.0129, allocations: 2.387 MB / 0.53 GB, free: 7.023 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7184706730768085]