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.001047/0.001047, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001262/0.001262, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7718/0.7718, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.003e-06/2.003e-06, allocations: 0 / 0.5216 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.823e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001951/0.00198, allocations: 0.6163 MB / 0.5222 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.004124, allocations: 1.463 MB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.004156, allocations: 0.9375 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.004211, allocations: 3.938 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.00426, allocations: 5.516 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.004983, allocations: 220.4 kB / 0.5239 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.005068, allocations: 35.91 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.005103, allocations: 4.688 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.005147, allocations: 15.98 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.005202, allocations: 25.23 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.005213, allocations: 0 / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.005668, allocations: 263.5 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.0057, allocations: 4.625 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.005732, allocations: 15.92 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.006093, allocations: 268.3 kB / 0.5245 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006097, allocations: 7.938 kB / 0.5245 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006098, allocations: 0 / 0.5245 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.006102, allocations: 0.5312 kB / 0.5245 GB, free: 14.95 MB / 0.4948 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.0003521/0.006454, allocations: 426.8 kB / 0.5249 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.006487, allocations: 8.031 kB / 0.5249 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.006519, allocations: 10.95 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.006605, allocations: 120.5 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.006616, allocations: 4.375 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.006624, allocations: 384 / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.006731, allocations: 75.94 kB / 0.5251 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006737, allocations: 192 / 0.5251 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.006746, allocations: 5.469 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.006752, allocations: 7.875 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.00679, allocations: 43.16 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.637e-05/0.006886, allocations: 101.3 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.206e-05/0.006958, allocations: 68.81 kB / 0.5253 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.007001, allocations: 49.41 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.007004, allocations: 0.8125 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.007026, allocations: 37.39 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.007027, allocations: 0.9375 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000222/0.007249, allocations: 190.6 kB / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.007289, allocations: 82.59 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.007376, allocations: 173.9 kB / 0.5258 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.007388, allocations: 25.7 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.007437, allocations: 134.9 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.007472, allocations: 28.27 kB / 0.526 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.007512, allocations: 31.38 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.007652, allocations: 0.4894 MB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.007692, allocations: 37.7 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.00773, allocations: 42.56 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.007815, allocations: 103 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007817, allocations: 3.938 kB / 0.5267 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001407/0.007957, allocations: 137.6 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.007995, allocations: 42.38 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007999, allocations: 0 / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.008013, allocations: 1.25 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-06/0.008017, allocations: 4 kB / 0.5269 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.00802, allocations: 0 / 0.5269 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.008075, allocations: 13.73 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.008094, allocations: 4 kB / 0.5269 GB, free: 12.2 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 (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.0001043/0.008199, allocations: 190.3 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.00822, allocations: 15.94 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.008235, allocations: 4.438 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.008238, allocations: 1.031 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008239, allocations: 4 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.008244, allocations: 4.938 kB / 0.5271 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.008333, allocations: 101.2 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008335, allocations: 4 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.008335, allocations: 3.25 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.008337, allocations: 3.938 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.008346, allocations: 4 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008348, allocations: 0 / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008349, allocations: 0 / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.008552, allocations: 195.7 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.008561, allocations: 4 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.008575, allocations: 4 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.008605, allocations: 8 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.00862, allocations: 3.031 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.008637, allocations: 11.98 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002698/0.008907, allocations: 123.8 kB / 0.5275 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008907, allocations: 0 / 0.5275 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002413/0.009148, allocations: 79.86 kB / 0.5276 GB, free: 11.38 MB / 0.4948 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.0002119/0.00936, allocations: 171 kB / 0.5278 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.00949, allocations: 183.9 kB / 0.5279 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.009491, allocations: 0 / 0.5279 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.009548, allocations: 136.7 kB / 0.5281 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.888e-05/0.009647, allocations: 9.281 kB / 0.5281 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.009841, allocations: 179.8 kB / 0.5282 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.00987, allocations: 59.34 kB / 0.5283 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.009883, allocations: 0.6562 kB / 0.5283 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.009945, allocations: 82.2 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.009945, allocations: 0.625 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.003509/0.01345, allocations: 2.425 MB / 0.5308 GB, free: 8.164 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8466903418302536]