Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009626, 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.0008946/0.0008946, allocations: 195.8 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.122/1.122, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.2 MB / 0.5485 GB, free: 13.64 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.001235/0.001235, allocations: 73.12 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001694/0.1654, allocations: 0.6976 MB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1658, allocations: 199.2 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1658, allocations: 4 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.1659, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.166, allocations: 11.92 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1662, allocations: 59.89 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.1663, allocations: 23.92 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1663, allocations: 15.98 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.1663, allocations: 7.938 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1664, allocations: 27.89 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1664, allocations: 0 / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1665, allocations: 115.7 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1666, allocations: 15.86 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1666, allocations: 15.91 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1667, allocations: 103.8 kB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1667, allocations: 3.984 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1667, allocations: 0 / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1668, allocations: 0 / 0.7841 GB, free: 12.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004294/0.1672, allocations: 367.6 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.1672, allocations: 8.031 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1673, allocations: 12.84 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1674, allocations: 168.3 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1674, allocations: 4.375 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1674, allocations: 384 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1676, allocations: 62.16 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1676, allocations: 192 / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1676, allocations: 3.938 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1676, allocations: 0 / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1677, allocations: 35.97 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.168, allocations: 248.9 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1682, allocations: 74.39 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.1682, allocations: 28.94 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1683, allocations: 0 / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1683, allocations: 30.56 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1683, allocations: 0 / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02649/0.1948, allocations: 1.609 MB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1949, allocations: 59.39 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1949, allocations: 113.8 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.195, allocations: 29.7 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1951, allocations: 84.14 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.1951, allocations: 35.53 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.1953, allocations: 25.7 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.1954, allocations: 318.8 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.1959, allocations: 151.9 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.1963, allocations: 140.2 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.1971, allocations: 292.8 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1971, allocations: 4 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001035/0.1982, allocations: 333.4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1982, allocations: 4 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1982, allocations: 4 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1982, allocations: 4 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.1997, allocations: 67.92 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1997, allocations: 4 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.201, allocations: 43.89 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.2011, allocations: 7.984 kB / 0.7883 GB, free: 8.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001623/0.2012, allocations: 122.4 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.2013, allocations: 432 / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2014, allocations: 20.38 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2014, allocations: 0 / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2014, allocations: 0 / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2015, allocations: 7.984 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.2067, allocations: 0.8413 MB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2067, allocations: 0 / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.2077, allocations: 55.94 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2077, allocations: 0 / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.2078, allocations: 4 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2078, allocations: 11.88 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2078, allocations: 0 / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.2086, allocations: 325.2 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.2087, allocations: 77.39 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2087, allocations: 11.98 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.2097, allocations: 47.89 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.2097, allocations: 3.938 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.2098, allocations: 4 kB / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.2098, allocations: 99.2 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2099, allocations: 4 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003685/0.2102, allocations: 91.98 kB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001883/0.2104, allocations: 115.2 kB / 0.7901 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008377/0.2113, allocations: 251.8 kB / 0.7904 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2113, allocations: 0 / 0.7904 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.2116, allocations: 91.89 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.0002722/0.2119, allocations: 8.125 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.2144, allocations: 322.4 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2146, allocations: 0.6885 MB / 0.7914 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004905/0.2151, allocations: 51.94 kB / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.2155, allocations: 15.42 kB / 0.7915 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2155, allocations: 0 / 0.7915 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.009633/0.2252, allocations: 8.742 MB / 0.8 GB, free: 11.82 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)