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.0009218/0.0009218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0008903/0.0008903, allocations: 200.2 kB / 16.26 MB, free: 6.617 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.119/1.119, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.462/1.462, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.001174/0.001174, allocations: 69.75 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001662/0.1666, allocations: 0.6743 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.168, allocations: 1.422 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.1681, allocations: 0 / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.1682, allocations: 7.922 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.1682, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1687, allocations: 163.1 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.1688, allocations: 55.89 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.819e-05/0.1688, allocations: 4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.1689, allocations: 19.92 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.1689, allocations: 27.89 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1689, allocations: 4 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.1692, allocations: 195.7 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.1692, allocations: 7.984 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1693, allocations: 31.8 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1695, allocations: 187.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1695, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1695, allocations: 3.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1695, allocations: 0 / 0.7856 GB, free: 11.05 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.0003449/0.1698, allocations: 442.7 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.1699, allocations: 12.03 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.1699, allocations: 4.844 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.17, allocations: 176.2 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.17, allocations: 8.375 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.17, allocations: 8.312 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1702, allocations: 93.95 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-06/0.1702, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1702, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.1702, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.1703, allocations: 59.95 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.1704, allocations: 181.6 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.1705, allocations: 82.53 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.1706, allocations: 76.81 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-06/0.1706, allocations: 0 / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.1706, allocations: 34.5 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1706, allocations: 0 / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003181/0.1709, allocations: 255.2 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.171, allocations: 77.11 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.1711, allocations: 152.2 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1711, allocations: 33.73 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.1711, allocations: 84.14 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1712, allocations: 11.81 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1712, allocations: 33.7 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.1713, allocations: 322.8 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1714, allocations: 103.9 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.1715, allocations: 107.9 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1717, allocations: 269.9 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1717, allocations: 4.031 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002749/0.172, allocations: 328.8 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.1721, allocations: 75.38 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1721, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1721, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1721, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1721, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1722, allocations: 7.938 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1722, allocations: 4 kB / 0.7885 GB, free: 7.773 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 8.533e-05/0.1723, allocations: 163.5 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1723, allocations: 11.84 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.1723, allocations: 8.25 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1723, allocations: 3.938 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1724, allocations: 0 / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.1724, allocations: 0 / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.1724, allocations: 173.6 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1725, allocations: 0 / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.1725, allocations: 3.938 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1725, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1725, allocations: 4 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1725, allocations: 4 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1725, allocations: 0 / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1727, allocations: 222.6 kB / 0.7891 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.1728, allocations: 88.95 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1728, allocations: 0 / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.1728, allocations: 7.984 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1729, allocations: 11.94 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1729, allocations: 12.03 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.1729, allocations: 109.6 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.173, allocations: 0 / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.1732, allocations: 63.98 kB / 0.7894 GB, free: 6.789 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.0002229/0.1734, allocations: 151.2 kB / 0.7895 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.1738, allocations: 370.6 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1738, allocations: 0 / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1739, allocations: 135.4 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.174, allocations: 14.45 kB / 0.79 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.1743, allocations: 225.5 kB / 0.7902 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.1745, allocations: 0.6923 MB / 0.7909 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.3e-06/0.1745, allocations: 3.938 kB / 0.7909 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-06/0.1745, allocations: 11.44 kB / 0.7909 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1745, allocations: 4 kB / 0.7909 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of Templates: time 0.003422/0.1779, allocations: 1.984 MB / 0.7928 GB, free: 3.125 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)