Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007843/0.0007843, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005315/0.005315, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005836/0.0005836, allocations: 11.25 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3672, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001884/0.3692, allocations: 1.193 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3706, allocations: 0.7988 MB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3707, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.371, allocations: 143.7 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.3715, allocations: 143.7 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3717, allocations: 63.88 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3718, allocations: 67.81 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.3719, allocations: 7.984 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.372, allocations: 31.91 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.3721, allocations: 83.78 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3722, allocations: 4 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.3725, allocations: 207.7 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3727, allocations: 119.7 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.3728, allocations: 101 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.3732, allocations: 303.1 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3732, allocations: 4 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3732, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3732, allocations: 0 / 1.077 GB, free: 4.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00075/0.374, allocations: 0.5412 MB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.374, allocations: 12.03 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.3741, allocations: 32.56 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.3745, allocations: 382.3 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3745, allocations: 384 / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3745, allocations: 4.375 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3748, allocations: 93.91 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3748, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3748, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3748, allocations: 4 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.375, allocations: 111.9 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.3757, allocations: 468.7 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3759, allocations: 110.5 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.376, allocations: 60.89 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.3761, allocations: 19.98 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3761, allocations: 38.56 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3761, allocations: 0 / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000558/0.3767, allocations: 233.2 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3767, allocations: 51.41 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.3773, allocations: 0.5366 MB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3774, allocations: 25.7 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.3775, allocations: 160 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3776, allocations: 7.938 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3776, allocations: 25.7 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3777, allocations: 342.8 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3779, allocations: 99.97 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3781, allocations: 99.92 kB / 1.081 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.3784, allocations: 192.7 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3784, allocations: 0 / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004283/0.3788, allocations: 279.5 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3789, allocations: 9.25 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3789, allocations: 7.984 kB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3789, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.379, allocations: 31.98 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3791, allocations: 0 / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.3791, allocations: 8 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3792, allocations: 4 kB / 1.081 GB, free: 124 kB / 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.000162/0.3793, allocations: 174.3 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.3794, allocations: 31.62 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.3797, allocations: 175.8 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3797, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3798, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3798, allocations: 3.938 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.38, allocations: 285.5 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.38, allocations: 0 / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.3801, allocations: 8 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.3801, allocations: 3.984 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3801, allocations: 4 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3801, allocations: 0 / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3801, allocations: 3.984 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3805, allocations: 271 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.3806, allocations: 116.7 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3806, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.3807, allocations: 12.03 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3808, allocations: 3.984 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3808, allocations: 0 / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003931/0.3812, allocations: 399.1 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3812, allocations: 0 / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003782/0.3816, allocations: 83.98 kB / 1.083 GB, free: 14.48 MB / 0.8419 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003086/0.3819, allocations: 151.1 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.3822, allocations: 179.8 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3823, allocations: 0 / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3824, allocations: 59.97 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3827, allocations: 25.55 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.3836, allocations: 0.5897 MB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.384, allocations: 0.7743 MB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.558e-05/0.384, allocations: 46.52 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3841, allocations: 15.44 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.3841, allocations: 3.938 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.006339/0.3904, allocations: 2.581 MB / 1.087 GB, free: 9.992 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1)