Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009648/0.0009649, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.086/1.086, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.466/1.466, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.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.00128/0.00128, allocations: 69.94 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.161, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001583/0.1626, allocations: 0.6197 MB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.164, allocations: 1.42 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.164, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.1641, allocations: 3.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.832e-05/0.1641, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.1646, allocations: 183 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.1647, allocations: 51.95 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.909e-05/0.1647, allocations: 4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.1648, allocations: 19.92 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1648, allocations: 27.91 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1648, allocations: 3.984 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.1651, allocations: 199.7 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.1652, allocations: 11.98 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1652, allocations: 19.81 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1654, allocations: 195.8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1654, allocations: 3.938 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1654, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1654, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 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.0003307/0.1658, allocations: 438.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.411e-05/0.1658, allocations: 8.031 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1658, allocations: 8.844 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.1659, allocations: 181.1 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1659, allocations: 384 / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.166, allocations: 8.312 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1661, allocations: 97.95 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.1661, allocations: 0 / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1661, allocations: 0 / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-06/0.1661, allocations: 4 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.1662, allocations: 63.89 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.1663, allocations: 177.6 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.1664, allocations: 82.53 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.175e-05/0.1665, allocations: 64.89 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.1665, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1666, allocations: 38.5 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1666, allocations: 0 / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003186/0.1669, allocations: 255.1 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1669, allocations: 89.09 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.167, allocations: 144.4 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.167, allocations: 25.7 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1671, allocations: 92.12 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1671, allocations: 7.812 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1672, allocations: 29.7 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.1672, allocations: 322.9 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1673, allocations: 103.9 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.1675, allocations: 103.9 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1677, allocations: 277.9 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1677, allocations: 4 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000291/0.168, allocations: 328.7 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.168, allocations: 67.39 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.168, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.1681, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.1681, allocations: 8.047 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1681, allocations: 0 / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.1682, allocations: 11.94 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1682, allocations: 4 kB / 0.789 GB, free: 7.426 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.1683, allocations: 147.5 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1683, allocations: 11.84 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.1683, allocations: 8.25 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1683, allocations: 7.984 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1683, allocations: 0 / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.1683, allocations: 4 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.1684, allocations: 169.7 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1684, allocations: 3.984 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1684, allocations: 3.938 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.1684, allocations: 0 / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1685, allocations: 7.938 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1685, allocations: 0 / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1685, allocations: 0 / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1687, allocations: 238.7 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.1687, allocations: 88.95 kB / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1687, allocations: 4 kB / 0.7896 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.1688, allocations: 4 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1688, allocations: 7.984 kB / 0.7896 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1689, allocations: 0 / 0.7896 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.1689, allocations: 107.2 kB / 0.7897 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1689, allocations: 4 kB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002333/0.1692, allocations: 60 kB / 0.7898 GB, free: 6.449 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002107/0.1694, allocations: 159.2 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1697, allocations: 370.6 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1697, allocations: 0 / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1698, allocations: 143.3 kB / 0.7904 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.17, allocations: 6.656 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.1702, allocations: 221.6 kB / 0.7907 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1705, allocations: 0.6923 MB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.148e-06/0.1705, allocations: 0 / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-06/0.1705, allocations: 7.438 kB / 0.7913 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1705, allocations: 4 kB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.00379/0.1743, allocations: 2.036 MB / 0.7933 GB, free: 2.738 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)