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.001237/0.001237, 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.001224/0.001224, allocations: 195.3 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.165/1.165, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.536/1.536, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001453/0.001453, allocations: 68.52 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.176, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001692/0.1777, allocations: 0.629 MB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.1781, allocations: 207.1 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.1781, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.1781, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1783, allocations: 15.92 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1785, allocations: 71.77 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.1785, allocations: 27.97 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1786, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1786, allocations: 19.92 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1787, allocations: 19.91 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1787, allocations: 11.92 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1788, allocations: 99.8 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1789, allocations: 15.86 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1789, allocations: 11.94 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.179, allocations: 103.8 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.179, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.179, allocations: 0 / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1791, allocations: 0 / 0.7846 GB, free: 12.25 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.0004539/0.1795, allocations: 371.6 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1795, allocations: 12.03 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.1796, allocations: 4.844 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1797, allocations: 172.2 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1797, allocations: 8.375 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1797, allocations: 384 / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1799, allocations: 58.22 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1799, allocations: 8.172 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1799, allocations: 3.938 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1799, allocations: 0 / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.18, allocations: 31.97 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.1803, allocations: 252.9 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1805, allocations: 70.41 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.1806, allocations: 32.92 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1806, allocations: 0 / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1806, allocations: 34.56 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1806, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02694/0.2076, allocations: 1.601 MB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2076, allocations: 55.41 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.2077, allocations: 129.7 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.2078, allocations: 29.7 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.2078, allocations: 84.14 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/0.2079, allocations: 27.55 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.2081, allocations: 25.72 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.2082, allocations: 322.8 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.2087, allocations: 139.9 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.2092, allocations: 143.9 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.2102, allocations: 292.8 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2102, allocations: 0 / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001156/0.2114, allocations: 341.4 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2114, allocations: 4 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2114, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2114, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.213, allocations: 67.86 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.213, allocations: 0 / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.2144, allocations: 55.89 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.2145, allocations: 8.641 kB / 0.7888 GB, free: 7.688 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.0001625/0.2146, allocations: 114.4 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.2147, allocations: 4 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2148, allocations: 12.38 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2149, allocations: 4 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2149, allocations: 0 / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2149, allocations: 0 / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.2204, allocations: 0.853 MB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2204, allocations: 3.984 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.2215, allocations: 59.94 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2216, allocations: 0 / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.2216, allocations: 4 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2216, allocations: 3.938 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.2216, allocations: 4 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.2226, allocations: 321.1 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.2226, allocations: 81.53 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.2227, allocations: 3.938 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.2237, allocations: 51.88 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.2237, allocations: 4 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.2238, allocations: 8 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.2238, allocations: 91.27 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2239, allocations: 0 / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003842/0.2242, allocations: 96 kB / 0.7905 GB, free: 5.871 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.0001909/0.2244, allocations: 125.3 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009333/0.2254, allocations: 251.8 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2254, allocations: 0 / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.2258, allocations: 95.88 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2261, allocations: 10.66 kB / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2287, allocations: 302.5 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.2289, allocations: 0.687 MB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004695/0.2294, allocations: 55.94 kB / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.2298, allocations: 15.42 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2298, allocations: 4 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of Templates: time 0.01062/0.2405, allocations: 8.75 MB / 0.8005 GB, free: 11.49 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)