Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009656, allocations: 98.27 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.007767/0.007767, 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 14.41 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002105/0.3509, allocations: 1.228 MB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3523, allocations: 0.7481 MB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.3524, allocations: 4 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3527, allocations: 135.7 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3528, allocations: 71.88 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.3535, allocations: 139.7 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3536, allocations: 59.88 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.3537, allocations: 11.92 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.3537, allocations: 23.97 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3539, allocations: 83.84 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3539, allocations: 0 / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.3543, allocations: 215.6 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3545, allocations: 67.81 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.3546, allocations: 85.19 kB / 1.077 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.355, allocations: 263.5 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.355, allocations: 4 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.355, allocations: 3.938 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.355, allocations: 0 / 1.077 GB, free: 4.379 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.0006812/0.3557, allocations: 494.5 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.3557, allocations: 12.03 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3558, allocations: 28.64 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3561, allocations: 251.7 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3561, allocations: 384 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3561, allocations: 4.375 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3563, allocations: 85.91 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3564, allocations: 7.984 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3564, allocations: 0 / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3564, allocations: 0 / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.3566, allocations: 99.92 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.3572, allocations: 404.6 kB / 1.079 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3574, allocations: 90.53 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3575, allocations: 64.81 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.3576, allocations: 19.98 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3576, allocations: 30.56 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3576, allocations: 0 / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004681/0.3581, allocations: 193.4 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3581, allocations: 51.41 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.3585, allocations: 355.3 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3585, allocations: 25.7 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.3586, allocations: 136 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3586, allocations: 15.83 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3587, allocations: 21.72 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3588, allocations: 338.8 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.359, allocations: 103.9 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3591, allocations: 95.95 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.3594, allocations: 231.1 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3595, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003829/0.3598, allocations: 261.2 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3599, allocations: 8 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3599, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3599, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.36, allocations: 11.98 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.36, allocations: 0 / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.3601, allocations: 23.77 kB / 1.08 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3601, allocations: 4 kB / 1.08 GB, free: 0.7578 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001086/0.3602, allocations: 149.8 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.3603, allocations: 19.72 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.3606, allocations: 146.6 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3606, allocations: 4 kB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3606, allocations: 4.031 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3606, allocations: 0 / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3608, allocations: 241.5 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3608, allocations: 0 / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.3609, allocations: 15.98 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3609, allocations: 0 / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3609, allocations: 0 / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3609, allocations: 4 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.361, allocations: 3.938 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3613, allocations: 247.1 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3614, allocations: 100.9 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3614, allocations: 0 / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.3615, allocations: 12.03 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3615, allocations: 3.984 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3616, allocations: 4 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002419/0.3618, allocations: 245.9 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3618, allocations: 0 / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003679/0.3622, allocations: 67.98 kB / 1.082 GB, free: 15.42 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.0003465/0.3625, allocations: 155.2 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3629, allocations: 175.8 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3629, allocations: 0 / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.363, allocations: 59.95 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3634, allocations: 25.45 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.364, allocations: 420.4 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3643, allocations: 0.7355 MB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.3643, allocations: 16.55 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3644, allocations: 11.44 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3644, allocations: 0 / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.005376/0.3698, allocations: 1.975 MB / 1.085 GB, free: 11.8 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)