Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001047/0.001047, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.807/1.807, allocations: 251.9 MB / 0.51 GB, free: 4.945 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.0006553/0.0006554, allocations: 19.59 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5616, allocations: 106.3 MB / 0.728 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008146/0.5625, allocations: 349.2 kB / 0.7283 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.5642, allocations: 1.379 MB / 0.7297 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.5643, allocations: 0 / 0.7297 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.5643, allocations: 0 / 0.7297 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.5644, allocations: 0 / 0.7297 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.5649, allocations: 142.6 kB / 0.7298 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.565, allocations: 27.89 kB / 0.7298 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.565, allocations: 4 kB / 0.7298 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.5651, allocations: 15.98 kB / 0.7298 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.5651, allocations: 27.91 kB / 0.7299 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.5652, allocations: 4 kB / 0.7299 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.5654, allocations: 163.8 kB / 0.73 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.5655, allocations: 15.94 kB / 0.73 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.5655, allocations: 33.64 kB / 0.7301 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.5657, allocations: 125.9 kB / 0.7302 GB, free: 9.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5657, allocations: 0 / 0.7302 GB, free: 9.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5657, allocations: 0 / 0.7302 GB, free: 9.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5657, allocations: 0 / 0.7302 GB, free: 9.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003902/0.5661, allocations: 434.5 kB / 0.7306 GB, free: 8.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5661, allocations: 8.031 kB / 0.7306 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.5662, allocations: 7.906 kB / 0.7306 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5663, allocations: 174.9 kB / 0.7308 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5664, allocations: 7.938 kB / 0.7308 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.5664, allocations: 4 kB / 0.7308 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.5666, allocations: 97.62 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5666, allocations: 0 / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5666, allocations: 4 kB / 0.7309 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.5666, allocations: 3.984 kB / 0.7309 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.5667, allocations: 63.89 kB / 0.731 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.5669, allocations: 173.7 kB / 0.7311 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.567, allocations: 82.53 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.567, allocations: 48 / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5671, allocations: 34.55 kB / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.5671, allocations: 3.938 kB / 0.7312 GB, free: 8.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004269/0.5675, allocations: 332.2 kB / 0.7316 GB, free: 7.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.5676, allocations: 85.11 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.5677, allocations: 139.9 kB / 0.7318 GB, free: 7.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5677, allocations: 33.73 kB / 0.7318 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.5678, allocations: 92.03 kB / 0.7319 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5678, allocations: 11.84 kB / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.5678, allocations: 0 / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.568, allocations: 322.8 kB / 0.7322 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5681, allocations: 103.9 kB / 0.7323 GB, free: 6.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.5682, allocations: 99.94 kB / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.5684, allocations: 171.3 kB / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5684, allocations: 0 / 0.7326 GB, free: 6.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003336/0.5687, allocations: 316.9 kB / 0.7329 GB, free: 6.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.5688, allocations: 75.33 kB / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5688, allocations: 0 / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5688, allocations: 0 / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.5689, allocations: 3.938 kB / 0.733 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5689, allocations: 0 / 0.733 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.569, allocations: 15.89 kB / 0.733 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.569, allocations: 4 kB / 0.733 GB, free: 6.211 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: 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.0001118/0.5691, allocations: 155.5 kB / 0.7331 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.5692, allocations: 15.94 kB / 0.7331 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.5692, allocations: 4.25 kB / 0.7331 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5692, allocations: 0 / 0.7331 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.5692, allocations: 0 / 0.7331 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5692, allocations: 0 / 0.7331 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.5693, allocations: 181.5 kB / 0.7333 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5694, allocations: 0 / 0.7333 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.5694, allocations: 0 / 0.7333 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5694, allocations: 0 / 0.7333 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5694, allocations: 4 kB / 0.7333 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5694, allocations: 3.984 kB / 0.7333 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5694, allocations: 4 kB / 0.7333 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5697, allocations: 230.6 kB / 0.7335 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.5697, allocations: 88.95 kB / 0.7336 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5697, allocations: 4 kB / 0.7336 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.5698, allocations: 4 kB / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.5699, allocations: 11.98 kB / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5699, allocations: 0 / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.172e-05/0.57, allocations: 111.3 kB / 0.7338 GB, free: 5.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.57, allocations: 0 / 0.7338 GB, free: 5.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002807/0.5703, allocations: 71.94 kB / 0.7338 GB, free: 5.223 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: 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.0002406/0.5705, allocations: 147.2 kB / 0.734 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.5709, allocations: 370.7 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5709, allocations: 0 / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.5711, allocations: 135.3 kB / 0.7344 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.5712, allocations: 8.562 kB / 0.7345 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.5715, allocations: 219.2 kB / 0.7347 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.5718, allocations: 0.6965 MB / 0.7353 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.031e-06/0.5718, allocations: 0 / 0.7353 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-06/0.5719, allocations: 7.438 kB / 0.7353 GB, free: 3.562 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5719, allocations: 0 / 0.7353 GB, free: 3.562 MB / 0.545 GB Notification: Performance of Templates: time 0.004401/0.5763, allocations: 1.869 MB / 0.7372 GB, free: 1.699 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: