Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.508/5.508, allocations: 0.5623 GB / 0.5769 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002366/0.002366, allocations: 364.7 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.192/4.192, allocations: 410.7 MB / 1.112 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 184.8 kB / 1.225 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005056, allocations: 19.98 kB / 1.348 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/0.5935, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006469/0.5942, allocations: 353.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.5959, allocations: 1.411 MB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.596, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.5961, allocations: 2.281 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.5961, allocations: 3.938 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.5967, allocations: 157.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.5968, allocations: 31.91 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.5969, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.5969, allocations: 15.97 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.597, allocations: 23.91 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.597, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.5973, allocations: 227.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.5974, allocations: 11.92 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.5974, allocations: 25.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.5976, allocations: 144.4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.251e-06/0.5977, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.808e-06/0.5977, allocations: 5.375 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.682e-06/0.5977, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 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.0003029/0.598, allocations: 383.7 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.598, allocations: 15.62 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.5981, allocations: 4.562 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.5982, allocations: 175 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5982, allocations: 0.5938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5982, allocations: 5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5984, allocations: 70.73 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-06/0.5984, allocations: 1.531 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5984, allocations: 7.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5985, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.5985, allocations: 35.97 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.5987, allocations: 166.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.492e-05/0.5988, allocations: 66.98 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.5989, allocations: 49.77 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-06/0.5989, allocations: 3.828 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5989, allocations: 38.56 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.868e-06/0.5989, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003392/0.5993, allocations: 183.2 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5993, allocations: 85.09 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.5994, allocations: 118.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5994, allocations: 25.7 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.5995, allocations: 90.55 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.5995, allocations: 27.64 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.5995, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.5996, allocations: 318.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.5997, allocations: 36.75 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.5997, allocations: 39.97 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.5998, allocations: 62.28 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-06/0.5998, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002111/0.6001, allocations: 155.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.6001, allocations: 34.92 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/0.6001, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.6001, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.469e-06/0.6001, allocations: 6.438 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.747e-06/0.6002, allocations: 3.984 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6003, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.6003, allocations: 8 kB / 1.465 GB, free: 279.4 MB / 0.8542 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 8.53e-05/0.6004, allocations: 155.4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.6004, allocations: 8.719 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.6005, allocations: 8.359 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-06/0.6005, allocations: 5.781 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.115e-06/0.6005, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-06/0.6005, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.581e-05/0.6006, allocations: 169.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-06/0.6006, allocations: 3.938 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-06/0.6006, allocations: 0.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.611e-06/0.6006, allocations: 7.188 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6006, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-06/0.6007, allocations: 1.219 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-06/0.6007, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.6009, allocations: 195.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.601, allocations: 85.77 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.601, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.6011, allocations: 16.64 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.6011, allocations: 2.125 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6011, allocations: 7.938 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.6012, allocations: 91.27 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.58e-07/0.6012, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003801/0.6016, allocations: 75.98 kB / 1.466 GB, free: 278.5 MB / 0.8542 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.0003081/0.6019, allocations: 160.5 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.6022, allocations: 191.3 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6022, allocations: 0.6875 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.6024, allocations: 152.3 kB / 1.466 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.6026, allocations: 12 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.6029, allocations: 180.2 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.603, allocations: 0.69 MB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.576e-06/0.603, allocations: 0 / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-06/0.6031, allocations: 7.438 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 3.172e-06/0.6031, allocations: 1.469 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005245/0.6083, allocations: 1.96 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB