Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009405/0.0009405, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000978/0.0009781, allocations: 188.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 283.8 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.2 MB / 0.4978 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 91.34 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1749, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001752/0.1767, allocations: 0.6727 MB / 0.6803 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1782, allocations: 1.39 MB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.1783, allocations: 1.719 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.1783, allocations: 7.875 kB / 0.6817 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.1784, allocations: 0 / 0.6817 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.1789, allocations: 159.5 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.179, allocations: 51.97 kB / 0.6819 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1791, allocations: 8.219 kB / 0.6819 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.1791, allocations: 15.98 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.1792, allocations: 27.89 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1792, allocations: 4 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.1794, allocations: 201.8 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.1795, allocations: 7.938 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.1795, allocations: 23.86 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1797, allocations: 191.5 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1798, allocations: 0 / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1798, allocations: 0 / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1798, allocations: 0.7188 kB / 0.6823 GB, free: 14.34 MB / 494.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.0003911/0.1802, allocations: 437.7 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1802, allocations: 8.031 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1802, allocations: 13.45 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1804, allocations: 178.4 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1804, allocations: 5.688 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1804, allocations: 4.359 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1806, allocations: 106.6 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1806, allocations: 0 / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1806, allocations: 4 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1806, allocations: 4 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.1807, allocations: 59.95 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1808, allocations: 173.6 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1809, allocations: 82.53 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.181, allocations: 72.88 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.181, allocations: 3.938 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1811, allocations: 42.5 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1811, allocations: 0 / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003436/0.1814, allocations: 251.2 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1815, allocations: 81.05 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1816, allocations: 145.7 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1816, allocations: 29.7 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.1817, allocations: 88.12 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1817, allocations: 7.906 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1817, allocations: 25.72 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1818, allocations: 326.9 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.182, allocations: 99.94 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1821, allocations: 107.9 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1823, allocations: 277.8 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1823, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003105/0.1826, allocations: 320.8 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.1827, allocations: 69.58 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1827, allocations: 4 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1827, allocations: 64 / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.1827, allocations: 4 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1827, allocations: 0 / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1829, allocations: 19.83 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1829, allocations: 4 kB / 0.6852 GB, free: 11.07 MB / 494.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.0001018/0.183, allocations: 152.8 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.183, allocations: 11.84 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.374e-05/0.183, allocations: 4.25 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.183, allocations: 4 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.183, allocations: 4 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.183, allocations: 3.938 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1832, allocations: 173.6 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1832, allocations: 0 / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-06/0.1832, allocations: 3.938 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1832, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1832, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1832, allocations: 11.98 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1832, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1834, allocations: 226.8 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.1835, allocations: 96.92 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1835, allocations: 0 / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.1836, allocations: 4 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1836, allocations: 7.984 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1836, allocations: 4 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.1837, allocations: 111.2 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.184, allocations: 64 kB / 0.6861 GB, free: 10.09 MB / 494.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.0002317/0.1842, allocations: 155.2 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1846, allocations: 374.6 kB / 0.6866 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1846, allocations: 0 / 0.6866 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1847, allocations: 135.3 kB / 0.6867 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1849, allocations: 5.547 kB / 0.6867 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.1852, allocations: 229.7 kB / 0.6869 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1854, allocations: 0.6924 MB / 0.6876 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.969e-06/0.1855, allocations: 0 / 0.6876 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.1855, allocations: 7.438 kB / 0.6876 GB, free: 8.406 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1855, allocations: 3.938 kB / 0.6876 GB, free: 8.402 MB / 494.1 MB Notification: Performance of Templates: time 0.003997/0.1895, allocations: 1.983 MB / 0.6896 GB, free: 6.426 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)