Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.0008938, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006868/0.006868, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 9.125 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.000786/0.3383, allocations: 350.7 kB / 1.074 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3407, allocations: 1.469 MB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3407, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.3408, allocations: 3.938 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.3408, allocations: 0 / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.3417, allocations: 155.7 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.3418, allocations: 31.97 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.3418, allocations: 4 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.3419, allocations: 15.94 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.342, allocations: 35.77 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.342, allocations: 4 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.3425, allocations: 235.7 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.3425, allocations: 7.984 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.3426, allocations: 45.56 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.343, allocations: 211.5 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.343, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.454e-06/0.343, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.343, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 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.0004731/0.3435, allocations: 393.4 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3436, allocations: 8.031 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3436, allocations: 12.83 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3438, allocations: 168.3 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3438, allocations: 4.375 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3438, allocations: 384 / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.344, allocations: 77.97 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.344, allocations: 0 / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.344, allocations: 8 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.344, allocations: 0 / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.3441, allocations: 39.91 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.3443, allocations: 169.5 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.3444, allocations: 62.56 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.3444, allocations: 52.86 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.3445, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3445, allocations: 38.5 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3445, allocations: 0 / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003342/0.3448, allocations: 191.2 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3449, allocations: 81.09 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.345, allocations: 117.8 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.345, allocations: 25.7 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.3451, allocations: 80.14 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3451, allocations: 23.7 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3452, allocations: 13.72 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3453, allocations: 318.9 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.3453, allocations: 35.97 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.3454, allocations: 35.97 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3456, allocations: 140.2 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3456, allocations: 3.984 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002133/0.3458, allocations: 156 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.3459, allocations: 41.62 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3459, allocations: 0 / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3459, allocations: 0 / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3459, allocations: 8 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3459, allocations: 0 / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.346, allocations: 11.94 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.346, allocations: 4 kB / 1.079 GB, free: 2.379 MB / 0.8262 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.0001217/0.3462, allocations: 151.5 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3462, allocations: 15.84 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.3462, allocations: 8.312 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3462, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3462, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3462, allocations: 4 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3464, allocations: 169.6 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3464, allocations: 0 / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.3464, allocations: 4 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3464, allocations: 3.938 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3464, allocations: 0 / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3464, allocations: 4 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3465, allocations: 11.92 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3467, allocations: 198.7 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3468, allocations: 81.05 kB / 1.079 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3468, allocations: 4 kB / 1.079 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.3469, allocations: 7.984 kB / 1.079 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.3469, allocations: 4 kB / 1.079 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3469, allocations: 4 kB / 1.079 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.347, allocations: 91.27 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.347, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003483/0.3473, allocations: 71.98 kB / 1.08 GB, free: 1.453 MB / 0.8262 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.000365/0.3477, allocations: 163.2 kB / 1.08 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.348, allocations: 203.2 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.348, allocations: 0 / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3481, allocations: 147.4 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.3483, allocations: 9.953 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3486, allocations: 182.6 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3489, allocations: 0.6887 MB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.272e-06/0.3489, allocations: 0 / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.121e-05/0.3489, allocations: 7.438 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3489, allocations: 0 / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.00498/0.3539, allocations: 1.98 MB / 1.083 GB, free: 14.01 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)