Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.963/4.963, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002382/0.002381, allocations: 357.5 kB / 0.644 GB, free: 185.7 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.205/4.205, allocations: 410.7 MB / 1.112 GB, free: 5.973 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.001835/0.001835, allocations: 186.6 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.000502, allocations: 16 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5903, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005853/0.5909, allocations: 353.7 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.5925, allocations: 1.364 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.5925, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.5926, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.5926, allocations: 4.969 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.5932, allocations: 137.9 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.5932, allocations: 31.95 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.5933, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.5933, allocations: 23.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.5934, allocations: 32.42 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.5934, allocations: 5.062 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.5937, allocations: 171.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.5938, allocations: 11.98 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.5938, allocations: 34.58 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.594, allocations: 125.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.856e-06/0.594, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.083e-06/0.594, allocations: 0.8125 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.433e-06/0.594, allocations: 0 / 1.463 GB, free: 282.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002934/0.5943, allocations: 431.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5944, allocations: 21.27 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5944, allocations: 7.906 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.5945, allocations: 174.1 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5946, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.5946, allocations: 5.469 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5948, allocations: 97.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.589e-06/0.5948, allocations: 3.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5948, allocations: 0.9688 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.5948, allocations: 3.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.5949, allocations: 59.95 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.595, allocations: 187.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5952, allocations: 74.53 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.5953, allocations: 72.89 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-06/0.5953, allocations: 0.9688 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5953, allocations: 33.34 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.849e-06/0.5954, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000397/0.5958, allocations: 256.3 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5958, allocations: 81.11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5959, allocations: 141.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.596, allocations: 29.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.453e-05/0.596, allocations: 88.91 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.596, allocations: 20.38 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.5961, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.5961, allocations: 327.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5963, allocations: 105.9 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.5964, allocations: 103.9 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.5966, allocations: 161.2 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-06/0.5966, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003723/0.597, allocations: 324.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.5971, allocations: 71.94 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.456e-06/0.5971, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5971, allocations: 3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-06/0.5971, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.524e-06/0.5971, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.5973, allocations: 8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.5973, allocations: 8 kB / 1.466 GB, free: 279 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.179e-05/0.5974, allocations: 152.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.5974, allocations: 7.906 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.5975, allocations: 8.234 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-06/0.5975, allocations: 1.062 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5975, allocations: 0.5156 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5975, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.141e-05/0.5976, allocations: 182.7 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-06/0.5976, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-06/0.5976, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.921e-06/0.5976, allocations: 0.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5977, allocations: 5.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5977, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5977, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.598, allocations: 241.3 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.598, allocations: 84.95 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.5981, allocations: 4.5 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.5982, allocations: 6.125 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.5982, allocations: 11.92 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5983, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.5983, allocations: 115 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-07/0.5983, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003634/0.5987, allocations: 64.92 kB / 1.467 GB, free: 278 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: 1 (i) * Number of discrete states: 1 (i) * 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.0002662/0.599, allocations: 148.8 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.5994, allocations: 374.6 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.476e-06/0.5994, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5996, allocations: 136 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.5998, allocations: 0.875 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.6001, allocations: 221.6 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.6003, allocations: 0.6965 MB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.725e-06/0.6003, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-06/0.6003, allocations: 8.375 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.789e-06/0.6003, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004875/0.6052, allocations: 1.875 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB