Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009337/0.0009337, allocations: 97.56 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.007564/0.007564, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 11.44 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008306/0.3311, allocations: 354.7 kB / 1.074 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.333, allocations: 1.461 MB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3331, allocations: 0 / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.58e-05/0.3331, allocations: 3.938 kB / 1.076 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.3332, allocations: 11.98 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.3338, allocations: 147.8 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.3339, allocations: 35.91 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.3339, allocations: 3.984 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.334, allocations: 15.92 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.334, allocations: 23.92 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3341, allocations: 0 / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.3344, allocations: 243.7 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.3345, allocations: 7.984 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3345, allocations: 41.58 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3348, allocations: 215.5 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3348, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3349, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.3349, allocations: 0 / 1.077 GB, free: 4.938 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.0004351/0.3353, allocations: 397.4 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3353, allocations: 8.031 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3354, allocations: 12.84 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3355, allocations: 168.3 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3355, allocations: 384 / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3356, allocations: 4.375 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3357, allocations: 77.91 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3358, allocations: 3.984 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3358, allocations: 0 / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3358, allocations: 3.984 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/0.3358, allocations: 35.98 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.336, allocations: 173.5 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.3361, allocations: 70.55 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.3362, allocations: 48.86 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.3362, allocations: 0 / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3362, allocations: 38.44 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3362, allocations: 0 / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003123/0.3366, allocations: 187.3 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3366, allocations: 85.14 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.3367, allocations: 109.8 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3367, allocations: 25.7 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.3368, allocations: 92.12 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3368, allocations: 19.86 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3369, allocations: 13.72 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.337, allocations: 314.8 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.337, allocations: 43.91 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.3371, allocations: 31.98 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3372, allocations: 148.8 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3373, allocations: 4 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001709/0.3374, allocations: 147.2 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.3375, allocations: 41.62 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3375, allocations: 0 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3375, allocations: 4 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.3375, allocations: 0 / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3375, allocations: 3.984 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3376, allocations: 11.92 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3377, allocations: 4 kB / 1.079 GB, free: 2.391 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.0001008/0.3378, allocations: 155.6 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3378, allocations: 11.84 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.3378, allocations: 8.312 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3378, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3378, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3378, allocations: 4 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.3379, allocations: 169.6 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.338, allocations: 0 / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.338, allocations: 0 / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.338, allocations: 7.938 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.338, allocations: 4 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.338, allocations: 0 / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.338, allocations: 0 / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3382, allocations: 194.7 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3383, allocations: 89.03 kB / 1.079 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3383, allocations: 0 / 1.079 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.3383, allocations: 4 kB / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.3384, allocations: 12.03 kB / 1.079 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3384, allocations: 7.984 kB / 1.079 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.3384, allocations: 87.28 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 0 / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003107/0.3388, allocations: 71.98 kB / 1.08 GB, free: 1.473 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.0003111/0.3391, allocations: 159.2 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3394, allocations: 203.2 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3394, allocations: 64 / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3395, allocations: 159.3 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.3397, allocations: 4 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.34, allocations: 182.5 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3403, allocations: 0.6848 MB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.873e-06/0.3403, allocations: 3.938 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3404, allocations: 7.5 kB / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3404, allocations: 4 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.004835/0.3452, allocations: 1.972 MB / 1.083 GB, free: 14.03 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)