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.918/4.918, allocations: 0.5623 GB / 0.5776 GB, free: 3.27 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.002487/0.002487, allocations: 359.7 kB / 0.6447 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.188/4.188, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001851/0.00185, allocations: 186.6 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7355, 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.0009414/0.7365, allocations: 352.5 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00697/0.7435, allocations: 1.366 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.7436, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.818e-05/0.7437, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.7438, allocations: 0.7188 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.7447, allocations: 143.6 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.702e-05/0.7448, allocations: 28.84 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.7449, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.7449, allocations: 23.91 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.745, allocations: 33.56 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.7451, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.7456, allocations: 175.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.7456, allocations: 8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.7457, allocations: 34.55 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.746, allocations: 129.8 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.746, allocations: 1.062 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.144e-06/0.746, allocations: 0 / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.746, allocations: 0 / 1.464 GB, free: 282 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.000466/0.7465, allocations: 432.8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.7466, allocations: 11.62 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.7467, allocations: 7.906 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.7468, allocations: 178.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.7468, allocations: 4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.7469, allocations: 0.6875 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.7509, allocations: 104 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.751, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.751, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.751, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.7512, allocations: 64.97 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.7514, allocations: 173.6 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.7517, allocations: 79.31 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.7518, allocations: 73.47 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.7519, allocations: 1.25 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.7519, allocations: 34.56 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.7519, allocations: 1.094 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0006926/0.7526, allocations: 252.2 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7527, allocations: 79.52 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.7529, allocations: 145.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.7529, allocations: 25.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.753, allocations: 88.14 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.753, allocations: 23.73 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.7531, allocations: 0.9688 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.7531, allocations: 326.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.7534, allocations: 109.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.7537, allocations: 97.47 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.7539, allocations: 159.3 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.754, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006557/0.7546, allocations: 329.2 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.7547, allocations: 67.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7548, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.7548, allocations: 5.344 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-06/0.7548, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.7548, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.7551, allocations: 4.75 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.7551, allocations: 7.984 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 0.0001397/0.7553, allocations: 156.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.7553, allocations: 8.562 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.7553, allocations: 10.38 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7554, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7554, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.7554, allocations: 84.95 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.7555, allocations: 4 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7556, allocations: 12.03 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.7557, allocations: 15.94 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004773/0.7562, allocations: 326.9 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005041/0.7567, allocations: 372.8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002052/0.7569, allocations: 80.78 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.751e-05/0.757, allocations: 103.9 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Backend: time 9.21e-07/0.7571, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.7584, allocations: 440 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004898/0.7589, allocations: 0.6492 MB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.0217/0.7807, allocations: 1.895 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB