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.0006643/0.0006644, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004385/0.004385, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.338/1.338, allocations: 252 MB / 0.5105 GB, free: 4.699 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.0004458/0.0004459, allocations: 16 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3609, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006228/0.3615, allocations: 352.5 kB / 0.7291 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3633, allocations: 1.513 MB / 0.7305 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.3633, allocations: 0 / 0.7305 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.3634, allocations: 0 / 0.7305 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.3634, allocations: 0 / 0.7305 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.364, allocations: 159.7 kB / 0.7307 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.364, allocations: 39.97 kB / 0.7307 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.3641, allocations: 0 / 0.7307 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.3641, allocations: 15.92 kB / 0.7307 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.3642, allocations: 19.97 kB / 0.7308 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3642, allocations: 4 kB / 0.7308 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.3645, allocations: 235.6 kB / 0.731 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3646, allocations: 11.94 kB / 0.731 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3646, allocations: 45.55 kB / 0.731 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3649, allocations: 211.6 kB / 0.7313 GB, free: 8.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3649, allocations: 0 / 0.7313 GB, free: 8.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3649, allocations: 0 / 0.7313 GB, free: 8.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3649, allocations: 4 kB / 0.7313 GB, free: 8.805 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.0003302/0.3652, allocations: 399 kB / 0.7316 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3653, allocations: 8.031 kB / 0.7316 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3653, allocations: 4.938 kB / 0.7316 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.3654, allocations: 172.2 kB / 0.7318 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3654, allocations: 8.375 kB / 0.7318 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3654, allocations: 4.359 kB / 0.7318 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3656, allocations: 77.97 kB / 0.7319 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.3656, allocations: 7.938 kB / 0.7319 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3656, allocations: 0 / 0.7319 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3656, allocations: 0 / 0.7319 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.3657, allocations: 43.91 kB / 0.7319 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3658, allocations: 161.6 kB / 0.7321 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.3659, allocations: 70.48 kB / 0.7322 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.366, allocations: 44.88 kB / 0.7322 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.366, allocations: 0 / 0.7322 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.366, allocations: 42.5 kB / 0.7323 GB, free: 7.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.366, allocations: 0 / 0.7323 GB, free: 7.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002729/0.3663, allocations: 187.2 kB / 0.7324 GB, free: 7.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3663, allocations: 85.03 kB / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.3664, allocations: 113.8 kB / 0.7326 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3664, allocations: 25.7 kB / 0.7326 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.3665, allocations: 84.14 kB / 0.7327 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3665, allocations: 27.64 kB / 0.7328 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.3665, allocations: 17.75 kB / 0.7328 GB, free: 7.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.3666, allocations: 314.8 kB / 0.7331 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.3667, allocations: 31.97 kB / 0.7331 GB, free: 6.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.3667, allocations: 39.97 kB / 0.7331 GB, free: 6.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3669, allocations: 140.2 kB / 0.7333 GB, free: 6.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3669, allocations: 0 / 0.7333 GB, free: 6.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.3671, allocations: 159.3 kB / 0.7334 GB, free: 6.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.3671, allocations: 43.66 kB / 0.7335 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3671, allocations: 0 / 0.7335 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.3671, allocations: 4.062 kB / 0.7335 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.3671, allocations: 0 / 0.7335 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3672, allocations: 4 kB / 0.7335 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.3672, allocations: 4 kB / 0.7335 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3673, allocations: 7.984 kB / 0.7335 GB, free: 6.258 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/0.3674, allocations: 151.5 kB / 0.7336 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.3674, allocations: 11.94 kB / 0.7336 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-06/0.3674, allocations: 4.375 kB / 0.7336 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3674, allocations: 0 / 0.7336 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3674, allocations: 4 kB / 0.7336 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3674, allocations: 0 / 0.7336 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.805e-05/0.3675, allocations: 169.5 kB / 0.7338 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3675, allocations: 4 kB / 0.7338 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-06/0.3675, allocations: 0 / 0.7338 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3675, allocations: 7.875 kB / 0.7338 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3676, allocations: 4 kB / 0.7338 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3676, allocations: 0 / 0.7338 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3676, allocations: 3.938 kB / 0.7338 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.3678, allocations: 199.3 kB / 0.734 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3678, allocations: 84.95 kB / 0.7341 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3678, allocations: 4 kB / 0.7341 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.3679, allocations: 11.98 kB / 0.7341 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.3679, allocations: 4 kB / 0.7341 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3679, allocations: 4 kB / 0.7341 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.368, allocations: 95.25 kB / 0.7342 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.368, allocations: 0 / 0.7342 GB, free: 5.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002669/0.3682, allocations: 71.98 kB / 0.7343 GB, free: 5.332 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 (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.0002524/0.3685, allocations: 163.2 kB / 0.7344 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3687, allocations: 195.3 kB / 0.7346 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3687, allocations: 0 / 0.7346 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3688, allocations: 151.3 kB / 0.7348 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.369, allocations: 10.62 kB / 0.7348 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3692, allocations: 182.7 kB / 0.735 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3695, allocations: 0.6887 MB / 0.7356 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.178e-06/0.3695, allocations: 3.938 kB / 0.7356 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-06/0.3695, allocations: 7.438 kB / 0.7356 GB, free: 3.863 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.3695, allocations: 0 / 0.7356 GB, free: 3.863 MB / 0.545 GB Notification: Performance of Templates: time 0.003649/0.3731, allocations: 1.979 MB / 0.7376 GB, free: 1.891 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: