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.0011/0.001101, allocations: 105.4 kB / 15.7 MB, free: 24 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.001077/0.001077, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.098/1.098, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.461/1.461, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001242/0.001242, allocations: 75.09 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1595, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001658/0.1612, allocations: 0.6093 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1627, allocations: 1.42 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.1628, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.1628, allocations: 3.938 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.1629, allocations: 3.938 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.1634, allocations: 187.5 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.1635, allocations: 51.83 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.881e-05/0.1636, allocations: 4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.1636, allocations: 15.98 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.1637, allocations: 31.89 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1637, allocations: 4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.164, allocations: 195.7 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.164, allocations: 11.92 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.164, allocations: 27.84 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1643, allocations: 191.5 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1643, allocations: 0 / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1643, allocations: 0 / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.1643, allocations: 4 kB / 0.7868 GB, free: 9.961 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.0003587/0.1647, allocations: 438.7 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1647, allocations: 12.03 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1647, allocations: 4.844 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.1648, allocations: 177.2 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1649, allocations: 4.312 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1649, allocations: 8.375 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.165, allocations: 97.94 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.165, allocations: 4 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.165, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1651, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.1651, allocations: 59.95 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.1653, allocations: 177.6 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.1654, allocations: 82.47 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.1655, allocations: 72.89 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1655, allocations: 0 / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1655, allocations: 34.5 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1655, allocations: 3.938 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003254/0.1658, allocations: 255.2 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1659, allocations: 85.11 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.166, allocations: 144.4 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.166, allocations: 29.7 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.1661, allocations: 92.17 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1661, allocations: 7.812 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.1661, allocations: 29.7 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.1662, allocations: 326.8 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1663, allocations: 99.94 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.1664, allocations: 99.94 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1667, allocations: 273.8 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1667, allocations: 3.938 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003048/0.167, allocations: 332.8 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.167, allocations: 71.38 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.167, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.167, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.1671, allocations: 4 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1671, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1672, allocations: 11.94 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1672, allocations: 3.938 kB / 0.7897 GB, free: 6.691 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.906e-05/0.1673, allocations: 156.2 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1673, allocations: 15.88 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.1673, allocations: 8.25 kB / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1673, allocations: 0 / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1673, allocations: 0 / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1673, allocations: 0 / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.1674, allocations: 173.6 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1674, allocations: 0 / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.1675, allocations: 3.938 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1675, allocations: 0 / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1675, allocations: 4 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1675, allocations: 0 / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1675, allocations: 4 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.1677, allocations: 226.6 kB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1677, allocations: 84.95 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1678, allocations: 7.938 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.1678, allocations: 7.984 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1679, allocations: 11.92 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1679, allocations: 4.141 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.936e-05/0.168, allocations: 114.2 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.168, allocations: 0 / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002458/0.1682, allocations: 63.98 kB / 0.7906 GB, free: 5.711 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.00022/0.1684, allocations: 147.2 kB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1688, allocations: 366.6 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1688, allocations: 0 / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1689, allocations: 135.4 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.169, allocations: 12.11 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.1693, allocations: 225.5 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1695, allocations: 0.6961 MB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.679e-06/0.1696, allocations: 0 / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-06/0.1696, allocations: 7.438 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1696, allocations: 0 / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.003798/0.1734, allocations: 2.05 MB / 0.7941 GB, free: 2 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)