Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001444, allocations: 187.7 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.53/2.53, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 98.34 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006727, allocations: 11.25 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2062, allocations: 106.3 MB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.4326, allocations: 132.5 MB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.433, allocations: 83.95 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.4503, allocations: 3.516 MB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4504, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.4504, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6823 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.0005448/0.451, allocations: 408.7 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.451, allocations: 8.031 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.4511, allocations: 8 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.4512, allocations: 167 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.4513, allocations: 8 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.4513, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.4515, allocations: 65.59 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4515, allocations: 3.938 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.4515, allocations: 4 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4516, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.4516, allocations: 19.97 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.4519, allocations: 181.5 kB / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.452, allocations: 46.56 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.452, allocations: 0 / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4521, allocations: 42.48 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4521, allocations: 0 / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005323/0.4526, allocations: 236.6 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.4527, allocations: 81.11 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4528, allocations: 113.2 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4528, allocations: 25.7 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.4529, allocations: 88.14 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.453, allocations: 15.7 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.453, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4531, allocations: 318.8 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.4532, allocations: 27.97 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.4533, allocations: 35.84 kB / 1.034 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4534, allocations: 49.72 kB / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4534, allocations: 4 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002976/0.4537, allocations: 135.2 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.4538, allocations: 33.7 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4538, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4538, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.4539, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4539, allocations: 0 / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.4539, allocations: 11.92 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.454, allocations: 8 kB / 1.034 GB, free: 7.211 MB / 0.6823 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.0001573/0.4542, allocations: 155.5 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.4542, allocations: 7.906 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.4542, allocations: 8.375 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4542, allocations: 0 / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4543, allocations: 3.984 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4543, allocations: 0 / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4544, allocations: 165.6 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4544, allocations: 3.938 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.4545, allocations: 11.92 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4545, allocations: 0 / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4545, allocations: 11.98 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4545, allocations: 0 / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4545, allocations: 0 / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.4549, allocations: 174.7 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.455, allocations: 85.05 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.455, allocations: 4 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.4551, allocations: 0 / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4551, allocations: 8 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.4551, allocations: 16.02 kB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.597e-05/0.4552, allocations: 87.28 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4552, allocations: 0 / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005052/0.4557, allocations: 83.92 kB / 1.035 GB, free: 6.293 MB / 0.6823 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.0004579/0.4562, allocations: 171.1 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.4566, allocations: 179.3 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4566, allocations: 0 / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4568, allocations: 139.4 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.457, allocations: 0 / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.4574, allocations: 170.7 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4577, allocations: 0.6926 MB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.761e-06/0.4577, allocations: 0 / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.4577, allocations: 7.438 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.4577, allocations: 4 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.006336/0.4641, allocations: 1.797 MB / 1.038 GB, free: 3.062 MB / 0.6823 GB