Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001296/0.001302, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000959/0.000959, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.706/1.706, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000691/0.0006913, allocations: 19.75 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5431, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.000702/0.5438, allocations: 349.3 kB / 0.7283 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.5456, allocations: 1.426 MB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.5456, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.054e-05/0.5457, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.5457, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.5462, allocations: 163.2 kB / 0.7299 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.5463, allocations: 19.97 kB / 0.7299 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.5463, allocations: 0 / 0.7299 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.5464, allocations: 19.98 kB / 0.7299 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.5464, allocations: 19.92 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5465, allocations: 0 / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.5468, allocations: 215.6 kB / 0.7301 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.5468, allocations: 7.984 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.5468, allocations: 29.64 kB / 0.7302 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.547, allocations: 147.8 kB / 0.7303 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.5471, allocations: 4 kB / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5471, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5471, allocations: 0 / 0.7303 GB, free: 9.035 MB / 0.545 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.0003556/0.5474, allocations: 402.8 kB / 0.7307 GB, free: 8.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5475, allocations: 8.031 kB / 0.7307 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.5475, allocations: 7.984 kB / 0.7307 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5476, allocations: 170.9 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5476, allocations: 4 kB / 0.7309 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.5477, allocations: 3.938 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5478, allocations: 77.66 kB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.5478, allocations: 0 / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5479, allocations: 0 / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5479, allocations: 0 / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.598e-05/0.5479, allocations: 39.91 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.5481, allocations: 165.6 kB / 0.7311 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.5482, allocations: 58.55 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.5482, allocations: 32 / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5482, allocations: 42.56 kB / 0.7312 GB, free: 7.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.5482, allocations: 0 / 0.7312 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003495/0.5486, allocations: 264.3 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.5486, allocations: 81.11 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.5487, allocations: 117.8 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5487, allocations: 33.64 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.5488, allocations: 80.14 kB / 0.7318 GB, free: 7.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5488, allocations: 23.66 kB / 0.7318 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.5488, allocations: 4.031 kB / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.549, allocations: 326.8 kB / 0.7321 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.549, allocations: 31.97 kB / 0.7322 GB, free: 6.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.5491, allocations: 31.98 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.5491, allocations: 70.3 kB / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5492, allocations: 0 / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001651/0.5493, allocations: 151.4 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.5494, allocations: 37.69 kB / 0.7324 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5494, allocations: 3.984 kB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5494, allocations: 4.062 kB / 0.7324 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.5494, allocations: 0 / 0.7324 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.5494, allocations: 0 / 0.7324 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.5495, allocations: 15.89 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5496, allocations: 8 kB / 0.7325 GB, free: 6.551 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5497, allocations: 151.4 kB / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.5497, allocations: 4 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.5497, allocations: 12.36 kB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.5497, allocations: 0 / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5497, allocations: 8 kB / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5497, allocations: 0 / 0.7326 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.5499, allocations: 169.6 kB / 0.7328 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5499, allocations: 0 / 0.7328 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.5499, allocations: 0 / 0.7328 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5499, allocations: 4 kB / 0.7328 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5499, allocations: 3.984 kB / 0.7328 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5499, allocations: 3.938 kB / 0.7328 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5499, allocations: 4 kB / 0.7328 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5501, allocations: 202.6 kB / 0.733 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.5502, allocations: 84.97 kB / 0.7331 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5502, allocations: 4 kB / 0.7331 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.5502, allocations: 4 kB / 0.7331 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.5503, allocations: 3.984 kB / 0.7331 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5503, allocations: 8 kB / 0.7331 GB, free: 5.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.5503, allocations: 95.2 kB / 0.7332 GB, free: 5.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5504, allocations: 0 / 0.7332 GB, free: 5.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002787/0.5506, allocations: 71.98 kB / 0.7333 GB, free: 5.625 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002751/0.5509, allocations: 159.2 kB / 0.7334 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.5512, allocations: 207.3 kB / 0.7336 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5512, allocations: 0 / 0.7336 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.5513, allocations: 155.3 kB / 0.7338 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.5514, allocations: 4.562 kB / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.5517, allocations: 182.8 kB / 0.7339 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.5519, allocations: 0.6887 MB / 0.7346 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.75e-06/0.5519, allocations: 0 / 0.7346 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-06/0.5519, allocations: 11.44 kB / 0.7346 GB, free: 4.148 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.552, allocations: 0 / 0.7346 GB, free: 4.148 MB / 0.545 GB Notification: Performance of Templates: time 0.004622/0.5566, allocations: 1.891 MB / 0.7365 GB, free: 2.258 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: