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.0009717/0.0009718, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00106/0.001061, allocations: 172.7 kB / 15.95 MB, free: 208 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.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.524/1.524, allocations: 252 MB / 0.5102 GB, free: 4.859 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.0005784/0.0005785, allocations: 19.28 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5265, allocations: 106.3 MB / 0.7281 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007056/0.5273, allocations: 352.5 kB / 0.7285 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.5291, allocations: 1.431 MB / 0.7299 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.5292, allocations: 0 / 0.7299 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.5292, allocations: 3.938 kB / 0.7299 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.5293, allocations: 11.92 kB / 0.7299 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.5299, allocations: 154.4 kB / 0.73 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.53, allocations: 27.91 kB / 0.7301 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.5301, allocations: 7.984 kB / 0.7301 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.5301, allocations: 19.98 kB / 0.7301 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.5302, allocations: 19.92 kB / 0.7301 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.5302, allocations: 0 / 0.7301 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.5306, allocations: 227.6 kB / 0.7303 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.5306, allocations: 4 kB / 0.7303 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.5307, allocations: 29.7 kB / 0.7304 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.5309, allocations: 143.8 kB / 0.7305 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5309, allocations: 0 / 0.7305 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5309, allocations: 0 / 0.7305 GB, free: 9.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.5309, allocations: 0 / 0.7305 GB, free: 9.156 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.0003993/0.5313, allocations: 407 kB / 0.7309 GB, free: 8.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5314, allocations: 8.031 kB / 0.7309 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.5314, allocations: 7.938 kB / 0.7309 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.5315, allocations: 174.9 kB / 0.7311 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5315, allocations: 0 / 0.7311 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.5316, allocations: 4 kB / 0.7311 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.5317, allocations: 69.66 kB / 0.7311 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5317, allocations: 0 / 0.7311 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5318, allocations: 0 / 0.7311 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5318, allocations: 4 kB / 0.7311 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.5318, allocations: 39.97 kB / 0.7312 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.532, allocations: 157.6 kB / 0.7313 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5321, allocations: 70.48 kB / 0.7314 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.5322, allocations: 48.86 kB / 0.7314 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.5322, allocations: 0 / 0.7314 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.5322, allocations: 30.56 kB / 0.7315 GB, free: 7.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5322, allocations: 4 kB / 0.7315 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003184/0.5325, allocations: 195.3 kB / 0.7317 GB, free: 7.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.5326, allocations: 81.11 kB / 0.7317 GB, free: 7.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.5327, allocations: 117.8 kB / 0.7318 GB, free: 7.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.5327, allocations: 25.7 kB / 0.7319 GB, free: 7.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.5328, allocations: 84.14 kB / 0.732 GB, free: 7.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.5328, allocations: 19.66 kB / 0.732 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.5328, allocations: 0 / 0.732 GB, free: 7.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5329, allocations: 330.8 kB / 0.7323 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.533, allocations: 35.97 kB / 0.7323 GB, free: 7.055 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.533, allocations: 31.98 kB / 0.7324 GB, free: 7.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.5331, allocations: 65.67 kB / 0.7324 GB, free: 6.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5331, allocations: 3.938 kB / 0.7324 GB, free: 6.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001972/0.5333, allocations: 147.3 kB / 0.7326 GB, free: 6.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5334, allocations: 41.69 kB / 0.7326 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5334, allocations: 3.938 kB / 0.7326 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5334, allocations: 0 / 0.7326 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/0.5334, allocations: 4 kB / 0.7326 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5334, allocations: 8 kB / 0.7326 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.5335, allocations: 11.89 kB / 0.7326 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.5336, allocations: 8 kB / 0.7326 GB, free: 6.711 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.0001126/0.5337, allocations: 155.5 kB / 0.7328 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.5337, allocations: 4 kB / 0.7328 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.5337, allocations: 4.375 kB / 0.7328 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5337, allocations: 3.984 kB / 0.7328 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5337, allocations: 0 / 0.7328 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5337, allocations: 0 / 0.7328 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5339, allocations: 177.5 kB / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5339, allocations: 0 / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.5339, allocations: 0 / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5339, allocations: 0 / 0.733 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5339, allocations: 4 kB / 0.733 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5339, allocations: 3.984 kB / 0.733 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5339, allocations: 0.625 kB / 0.733 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5342, allocations: 206.5 kB / 0.7332 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.5342, allocations: 85.05 kB / 0.7332 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5343, allocations: 4 kB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.5343, allocations: 4 kB / 0.7333 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.5344, allocations: 11.98 kB / 0.7333 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.5344, allocations: 4 kB / 0.7333 GB, free: 5.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.5344, allocations: 91.25 kB / 0.7334 GB, free: 5.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5344, allocations: 0 / 0.7334 GB, free: 5.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003115/0.5347, allocations: 76 kB / 0.7334 GB, free: 5.785 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.0003537/0.5351, allocations: 159.2 kB / 0.7336 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5354, allocations: 195.3 kB / 0.7338 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5354, allocations: 0 / 0.7338 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.5355, allocations: 151.3 kB / 0.7339 GB, free: 5.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.5357, allocations: 4.938 kB / 0.7339 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.5361, allocations: 186.5 kB / 0.7341 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.5363, allocations: 0.685 MB / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.152e-06/0.5364, allocations: 0 / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-06/0.5364, allocations: 7.438 kB / 0.7348 GB, free: 4.328 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5364, allocations: 0 / 0.7348 GB, free: 4.328 MB / 0.545 GB Notification: Performance of Templates: time 0.004515/0.5409, allocations: 1.966 MB / 0.7367 GB, free: 2.371 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: