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.0009205/0.0009205, allocations: 109.4 kB / 15.69 MB, free: 128 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.0009189/0.000919, allocations: 187.3 kB / 16.62 MB, free: 6.574 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.139/1.139, 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 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 292.3 MB / 0.5489 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.001298/0.001298, allocations: 67.23 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0016/0.1728, allocations: 0.642 MB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.1731, allocations: 207.1 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1732, allocations: 0 / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1732, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1733, allocations: 7.938 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1735, allocations: 75.8 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.1736, allocations: 23.92 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.1736, allocations: 4 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.1737, allocations: 15.92 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.1737, allocations: 23.91 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1737, allocations: 4 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1739, allocations: 107.7 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.1739, allocations: 11.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1739, allocations: 7.938 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1741, allocations: 107.8 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1741, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1741, allocations: 4 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1741, allocations: 0 / 0.7853 GB, free: 11.51 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.0004233/0.1745, allocations: 367.4 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1746, allocations: 8.031 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1746, allocations: 16.72 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1747, allocations: 184.2 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1748, allocations: 384 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1748, allocations: 8.375 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1749, allocations: 54.23 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1749, allocations: 192 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1749, allocations: 3.938 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1749, allocations: 4 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1751, allocations: 35.95 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.1753, allocations: 244.9 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1755, allocations: 78.39 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1756, allocations: 24.94 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1756, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.1756, allocations: 34.56 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.1756, allocations: 4 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02383/0.1994, allocations: 1.609 MB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1995, allocations: 51.41 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.1996, allocations: 113.8 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.1996, allocations: 29.7 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.1997, allocations: 92.12 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.1998, allocations: 27.56 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.1999, allocations: 29.64 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.2, allocations: 318.8 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.2005, allocations: 139.9 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.2009, allocations: 147.9 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.2018, allocations: 297.3 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2018, allocations: 0 / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001053/0.2028, allocations: 341.4 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2029, allocations: 8 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2029, allocations: 0 / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2029, allocations: 0 / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.2043, allocations: 59.94 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2043, allocations: 0 / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.2055, allocations: 51.94 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.2055, allocations: 0 / 0.7895 GB, free: 6.953 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.000146/0.2057, allocations: 130.3 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.2058, allocations: 4 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2059, allocations: 20.36 kB / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2059, allocations: 0 / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2059, allocations: 0 / 0.7897 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2059, allocations: 4 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.2109, allocations: 0.8374 MB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2109, allocations: 4 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.2119, allocations: 55.88 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2119, allocations: 0 / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.212, allocations: 8.062 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.212, allocations: 3.938 kB / 0.7906 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.212, allocations: 3.984 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.2128, allocations: 321.1 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.2129, allocations: 81.11 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.2129, allocations: 0 / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.2139, allocations: 47.89 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.2139, allocations: 7.922 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.2139, allocations: 4 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.675e-05/0.214, allocations: 99.3 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.214, allocations: 4 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000333/0.2143, allocations: 92 kB / 0.7912 GB, free: 5.129 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.0001694/0.2145, allocations: 119.2 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008569/0.2154, allocations: 243.8 kB / 0.7916 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2154, allocations: 4 kB / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.2158, allocations: 95.88 kB / 0.7917 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.216, allocations: 4 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.2184, allocations: 310.7 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2186, allocations: 0.6846 MB / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003813/0.219, allocations: 51.98 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.2194, allocations: 15.42 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2194, allocations: 3.938 kB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.009966/0.2293, allocations: 8.749 MB / 0.8012 GB, free: 10.76 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)