Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001543, allocations: 187.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.711/0.711, allocations: 82.94 MB / 99.42 MB, free: 2.242 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 325.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00196/0.00196, allocations: 98.31 kB / 393.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007735/0.0007738, allocations: 12 kB / 471.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3839, allocations: 67.43 MB / 0.5264 GB, free: 55.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006215/0.3846, allocations: 335.4 kB / 0.5267 GB, free: 55.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3864, allocations: 1.371 MB / 0.528 GB, free: 54.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.3865, allocations: 3.938 kB / 0.528 GB, free: 54.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.3866, allocations: 0.6094 kB / 0.528 GB, free: 54.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.3866, allocations: 7.688 kB / 0.528 GB, free: 54.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.3874, allocations: 124.1 kB / 0.5281 GB, free: 54.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.3875, allocations: 33.33 kB / 0.5282 GB, free: 54.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.3876, allocations: 2.125 kB / 0.5282 GB, free: 54.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.3876, allocations: 17.38 kB / 0.5282 GB, free: 54.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.3877, allocations: 29.98 kB / 0.5282 GB, free: 54.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3878, allocations: 1.844 kB / 0.5282 GB, free: 54.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.3882, allocations: 171 kB / 0.5284 GB, free: 54.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3882, allocations: 8.422 kB / 0.5284 GB, free: 54.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3883, allocations: 33.23 kB / 0.5284 GB, free: 54.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3885, allocations: 128.5 kB / 0.5286 GB, free: 54.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3886, allocations: 0 / 0.5286 GB, free: 54.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.011e-06/0.3886, allocations: 1.375 kB / 0.5286 GB, free: 54.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.61e-06/0.3886, allocations: 4 kB / 0.5286 GB, free: 54.12 MB / 410.7 MB 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.0003298/0.3889, allocations: 426.9 kB / 0.529 GB, free: 53.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.389, allocations: 9.938 kB / 0.529 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.389, allocations: 7.875 kB / 0.529 GB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.3891, allocations: 168.4 kB / 0.5291 GB, free: 53.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3892, allocations: 5.781 kB / 0.5291 GB, free: 53.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3892, allocations: 3.062 kB / 0.5292 GB, free: 53.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3894, allocations: 96.55 kB / 0.5292 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-06/0.3894, allocations: 4 kB / 0.5292 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3894, allocations: 1.188 kB / 0.5292 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.136e-06/0.3895, allocations: 2.047 kB / 0.5293 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.3896, allocations: 62.89 kB / 0.5293 GB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.3897, allocations: 175.2 kB / 0.5295 GB, free: 53.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3899, allocations: 77.8 kB / 0.5296 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.3899, allocations: 0.75 kB / 0.5296 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3899, allocations: 39.94 kB / 0.5296 GB, free: 53.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.39, allocations: 0 / 0.5296 GB, free: 53.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000508/0.3905, allocations: 342.4 kB / 0.5299 GB, free: 52.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.3905, allocations: 80.17 kB / 0.53 GB, free: 52.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3907, allocations: 142 kB / 0.5301 GB, free: 52.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3907, allocations: 27.64 kB / 0.5302 GB, free: 52.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3907, allocations: 92.14 kB / 0.5302 GB, free: 52.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3908, allocations: 23.89 kB / 0.5303 GB, free: 52.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-06/0.3908, allocations: 1.375 kB / 0.5303 GB, free: 52.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.3909, allocations: 319.6 kB / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.391, allocations: 101.9 kB / 0.5307 GB, free: 52.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.3912, allocations: 100.9 kB / 0.5308 GB, free: 52.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3914, allocations: 163.7 kB / 0.5309 GB, free: 52.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-06/0.3915, allocations: 0 / 0.5309 GB, free: 52.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004725/0.3919, allocations: 323.8 kB / 0.5312 GB, free: 52.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.392, allocations: 72.81 kB / 0.5313 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.929e-06/0.392, allocations: 0 / 0.5313 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3921, allocations: 0.9688 kB / 0.5313 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.202e-06/0.3921, allocations: 4.516 kB / 0.5313 GB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-06/0.3921, allocations: 5.156 kB / 0.5313 GB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3923, allocations: 11.86 kB / 0.5313 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3923, allocations: 3.531 kB / 0.5313 GB, free: 51.98 MB / 410.7 MB 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 0.0001072/0.3924, allocations: 152.2 kB / 0.5315 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3924, allocations: 8.422 kB / 0.5315 GB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.3925, allocations: 6.156 kB / 0.5315 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-06/0.3925, allocations: 0 / 0.5315 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.509e-06/0.3925, allocations: 5.844 kB / 0.5315 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-06/0.3925, allocations: 4 kB / 0.5315 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3926, allocations: 180.4 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-06/0.3926, allocations: 0.5625 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-06/0.3927, allocations: 3.938 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.151e-06/0.3927, allocations: 2.219 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3927, allocations: 5.375 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-06/0.3927, allocations: 1.312 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3927, allocations: 0.7031 kB / 0.5317 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3931, allocations: 231.7 kB / 0.5319 GB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.3931, allocations: 84.09 kB / 0.532 GB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3932, allocations: 2.031 kB / 0.532 GB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3932, allocations: 5.547 kB / 0.532 GB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.3933, allocations: 10.59 kB / 0.532 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3934, allocations: 2.531 kB / 0.532 GB, free: 51.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.801e-05/0.3934, allocations: 109.3 kB / 0.5321 GB, free: 51.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.3935, allocations: 0 / 0.5321 GB, free: 51.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004362/0.3939, allocations: 70.44 kB / 0.5322 GB, free: 51.29 MB / 410.7 MB 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.0003002/0.3942, allocations: 148.7 kB / 0.5323 GB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.3947, allocations: 371.3 kB / 0.5327 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.047e-06/0.3947, allocations: 1.469 kB / 0.5327 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3949, allocations: 137.3 kB / 0.5328 GB, free: 50.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.3951, allocations: 13.11 kB / 0.5328 GB, free: 50.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.3955, allocations: 212.2 kB / 0.533 GB, free: 50.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3956, allocations: 0.6954 MB / 0.5337 GB, free: 50.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.226e-06/0.3956, allocations: 3.938 kB / 0.5337 GB, free: 50.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-06/0.3956, allocations: 7.438 kB / 0.5337 GB, free: 50.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.477e-06/0.3957, allocations: 0 / 0.5337 GB, free: 50.07 MB / 410.7 MB Notification: Performance of Templates: time 0.005807/0.4015, allocations: 1.87 MB / 0.5355 GB, free: 49.92 MB / 410.7 MB