Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.01017/0.01017, allocations: 100.3 kB / 15.73 MB, free: 6.48 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.002076/0.002076, allocations: 195.8 kB / 16.67 MB, free: 6.379 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.786/1.786, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6879/0.6879, allocations: 95.48 MB / 365.4 MB, free: 9.789 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 78.39 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1901, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002011/0.1922, allocations: 0.5743 MB / 0.5717 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1946, allocations: 1.421 MB / 0.5731 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.1946, allocations: 0 / 0.5731 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.353e-05/0.1947, allocations: 4 kB / 0.5731 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.1948, allocations: 3.938 kB / 0.5731 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.1957, allocations: 175.5 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1959, allocations: 47.97 kB / 0.5733 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1959, allocations: 3.984 kB / 0.5733 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.196, allocations: 23.92 kB / 0.5733 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1961, allocations: 31.84 kB / 0.5733 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1961, allocations: 4 kB / 0.5733 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.1965, allocations: 203.7 kB / 0.5735 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.1965, allocations: 4 kB / 0.5735 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.1966, allocations: 27.8 kB / 0.5736 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1969, allocations: 183.7 kB / 0.5737 GB, free: 5.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1969, allocations: 0 / 0.5737 GB, free: 5.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1969, allocations: 3.938 kB / 0.5737 GB, free: 5.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1969, allocations: 7.938 kB / 0.5738 GB, free: 5.602 MB / 446.1 MB 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.0005385/0.1975, allocations: 442.7 kB / 0.5742 GB, free: 5.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1975, allocations: 11.98 kB / 0.5742 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.1976, allocations: 8.844 kB / 0.5742 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1977, allocations: 175.8 kB / 0.5744 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1977, allocations: 4 kB / 0.5744 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1977, allocations: 0 / 0.5744 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.198, allocations: 97.58 kB / 0.5745 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.198, allocations: 4 kB / 0.5745 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.198, allocations: 4 kB / 0.5745 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.198, allocations: 0 / 0.5745 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.1981, allocations: 59.95 kB / 0.5745 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.1983, allocations: 177.6 kB / 0.5747 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1985, allocations: 86.5 kB / 0.5748 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.1985, allocations: 68.89 kB / 0.5748 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1986, allocations: 0 / 0.5748 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1986, allocations: 38.5 kB / 0.5749 GB, free: 4.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1986, allocations: 0 / 0.5749 GB, free: 4.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004724/0.1991, allocations: 251.2 kB / 0.5751 GB, free: 4.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.1992, allocations: 77.11 kB / 0.5752 GB, free: 3.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1994, allocations: 146.2 kB / 0.5753 GB, free: 3.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1994, allocations: 33.7 kB / 0.5754 GB, free: 3.734 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1995, allocations: 96.02 kB / 0.5755 GB, free: 3.637 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1995, allocations: 7.906 kB / 0.5755 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.1996, allocations: 33.73 kB / 0.5755 GB, free: 3.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1998, allocations: 322.8 kB / 0.5758 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2, allocations: 103.9 kB / 0.5759 GB, free: 3.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2001, allocations: 103.9 kB / 0.576 GB, free: 3.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.2004, allocations: 281.6 kB / 0.5763 GB, free: 2.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2004, allocations: 0 / 0.5763 GB, free: 2.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003382/0.2007, allocations: 320.9 kB / 0.5766 GB, free: 2.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/0.2008, allocations: 75.33 kB / 0.5766 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2009, allocations: 64 / 0.5766 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2009, allocations: 4 kB / 0.5766 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2009, allocations: 0 / 0.5766 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2009, allocations: 0 / 0.5766 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.2011, allocations: 15.83 kB / 0.5767 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2011, allocations: 4 kB / 0.5767 GB, free: 2.324 MB / 446.1 MB 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 0.0001412/0.2013, allocations: 155.5 kB / 0.5768 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2013, allocations: 7.906 kB / 0.5768 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.2013, allocations: 8.188 kB / 0.5768 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2013, allocations: 8 kB / 0.5768 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2014, allocations: 3.938 kB / 0.5768 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2014, allocations: 0 / 0.5768 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2015, allocations: 177.6 kB / 0.577 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2015, allocations: 0 / 0.577 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.2015, allocations: 0 / 0.577 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2015, allocations: 0 / 0.577 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2016, allocations: 7.984 kB / 0.577 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2016, allocations: 0 / 0.577 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2016, allocations: 0 / 0.577 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.2019, allocations: 226.6 kB / 0.5772 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2019, allocations: 89 kB / 0.5773 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.202, allocations: 0 / 0.5773 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.641e-05/0.202, allocations: 4 kB / 0.5773 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.2021, allocations: 11.98 kB / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2021, allocations: 4 kB / 0.5773 GB, free: 1.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.2022, allocations: 107.2 kB / 0.5774 GB, free: 1.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.2022, allocations: 0 / 0.5774 GB, free: 1.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.2025, allocations: 67.97 kB / 0.5775 GB, free: 1.348 MB / 446.1 MB 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.0002914/0.2028, allocations: 155.1 kB / 0.5777 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.2033, allocations: 370.7 kB / 0.578 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2033, allocations: 3.938 kB / 0.578 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2034, allocations: 139.3 kB / 0.5781 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.2036, allocations: 4 kB / 0.5781 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.2042, allocations: 205.8 kB / 0.5783 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2045, allocations: 0.6963 MB / 0.579 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.768e-06/0.2045, allocations: 0 / 0.579 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.2046, allocations: 11.44 kB / 0.579 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2046, allocations: 0 / 0.579 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Templates: time 0.00562/0.2102, allocations: 2.035 MB / 0.581 GB, free: 13.65 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)