Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0007742/0.0007742, allocations: 98.03 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.005021/0.005021, allocations: 168.9 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.45/1.45, 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.913/2.913, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005517, allocations: 10.41 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3851, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001915/0.387, allocations: 1.193 MB / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3885, allocations: 0.791 MB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.3886, allocations: 0 / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.3888, allocations: 139.7 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.3894, allocations: 155.7 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3896, allocations: 63.86 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3897, allocations: 67.8 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.3898, allocations: 8 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.3899, allocations: 35.89 kB / 1.077 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.39, allocations: 75.86 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.39, allocations: 0 / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.3905, allocations: 223.6 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3906, allocations: 103.7 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3907, allocations: 109 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.3911, allocations: 303.1 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3912, allocations: 4 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3912, allocations: 0 / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3912, allocations: 0 / 1.077 GB, free: 4.301 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.0007859/0.392, allocations: 0.5412 MB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.392, allocations: 8.031 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3921, allocations: 28.56 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.3926, allocations: 382.3 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3926, allocations: 8.312 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3926, allocations: 384 / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3929, allocations: 93.91 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3929, allocations: 0 / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3929, allocations: 4 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3929, allocations: 3.938 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.3932, allocations: 111.9 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.3938, allocations: 456.7 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.394, allocations: 118.5 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3942, allocations: 60.89 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.3942, allocations: 19.98 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3942, allocations: 34.56 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3942, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004838/0.3947, allocations: 225.2 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3948, allocations: 59.34 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.3953, allocations: 0.5367 MB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3954, allocations: 25.7 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3955, allocations: 160 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3955, allocations: 7.938 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3956, allocations: 29.7 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3957, allocations: 338.8 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3959, allocations: 99.94 kB / 1.081 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3961, allocations: 103.9 kB / 1.081 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.3964, allocations: 187.2 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3964, allocations: 4 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004222/0.3968, allocations: 281.1 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3969, allocations: 5.406 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3969, allocations: 3.938 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3969, allocations: 0 / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.397, allocations: 35.98 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3971, allocations: 4 kB / 1.081 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.3971, allocations: 11.98 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3972, allocations: 4 kB / 1.081 GB, free: 156 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.0001612/0.3973, allocations: 165.7 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.3974, allocations: 27.62 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3977, allocations: 179.7 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3977, allocations: 4 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3977, allocations: 0 / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3978, allocations: 7.922 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.398, allocations: 277.5 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.398, allocations: 0 / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.3981, allocations: 16.02 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3981, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3981, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3981, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3981, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3985, allocations: 275 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.3986, allocations: 120.7 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3986, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.3987, allocations: 4 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3987, allocations: 7.984 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3988, allocations: 32 / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004045/0.3992, allocations: 399.1 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3992, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003715/0.3995, allocations: 83.98 kB / 1.083 GB, free: 14.51 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.0003095/0.3999, allocations: 155.2 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.4002, allocations: 178.2 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4003, allocations: 0 / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4004, allocations: 59.95 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4007, allocations: 25.5 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.4016, allocations: 0.5859 MB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.4019, allocations: 0.7785 MB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.955e-05/0.402, allocations: 30.53 kB / 1.084 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.979e-05/0.4021, allocations: 19.44 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4021, allocations: 4 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.006318/0.4084, allocations: 2.585 MB / 1.087 GB, free: 10.04 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1)