Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009967/0.0009967, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002037, allocations: 282.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 91.16 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1446, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001724/0.1463, allocations: 0.6901 MB / 0.6801 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004231/0.1468, allocations: 195.9 kB / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.1468, allocations: 0.7188 kB / 0.6803 GB, free: 304 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1468, allocations: 3.938 kB / 0.6803 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.147, allocations: 8.562 kB / 0.6803 GB, free: 292 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1471, allocations: 69.62 kB / 0.6804 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.819e-05/0.1472, allocations: 23.98 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1472, allocations: 0 / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.1473, allocations: 27.84 kB / 0.6804 GB, free: 172 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.1474, allocations: 19.92 kB / 0.6805 GB, free: 152 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1474, allocations: 4 kB / 0.6805 GB, free: 148 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1475, allocations: 107.7 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1476, allocations: 15.92 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1476, allocations: 15.86 kB / 0.6806 GB, free: 8 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1478, allocations: 99.81 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1478, allocations: 0 / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1478, allocations: 0 / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1478, allocations: 3.938 kB / 0.6807 GB, free: 15.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004742/0.1483, allocations: 371.7 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1483, allocations: 12.03 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1483, allocations: 4.844 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1485, allocations: 168.4 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1485, allocations: 8.375 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1485, allocations: 384 / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1486, allocations: 50.23 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1487, allocations: 4.188 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1487, allocations: 7.938 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1487, allocations: 3.984 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1488, allocations: 35.95 kB / 0.6813 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.1491, allocations: 252.8 kB / 0.6816 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1493, allocations: 70.47 kB / 0.6816 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.1494, allocations: 24.94 kB / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1494, allocations: 4 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1494, allocations: 38.48 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1494, allocations: 0 / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02957/0.179, allocations: 1.613 MB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1791, allocations: 55.34 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.1792, allocations: 117.8 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.1792, allocations: 25.7 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1793, allocations: 92.12 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.1794, allocations: 23.56 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.1796, allocations: 25.7 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.1797, allocations: 330.8 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.1802, allocations: 135.9 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.1807, allocations: 144.2 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.1817, allocations: 304.7 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1817, allocations: 0 / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001216/0.1829, allocations: 325.6 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1829, allocations: 4 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.183, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.183, allocations: 4 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.1846, allocations: 67.88 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1846, allocations: 0 / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.186, allocations: 47.94 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.186, allocations: 4 kB / 0.6849 GB, free: 11.36 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: 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.0001796/0.1862, allocations: 119.1 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.1863, allocations: 7.906 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1865, allocations: 20.38 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1865, allocations: 4 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1865, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1865, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.192, allocations: 0.8454 MB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.192, allocations: 0 / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.1931, allocations: 51.94 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1932, allocations: 0 / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.1932, allocations: 11.98 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1932, allocations: 7.875 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1932, allocations: 64 / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.1942, allocations: 321.1 kB / 0.6863 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.1942, allocations: 85.3 kB / 0.6863 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.1943, allocations: 8 kB / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/0.1953, allocations: 43.89 kB / 0.6864 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1953, allocations: 11.92 kB / 0.6864 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.1954, allocations: 4 kB / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.1954, allocations: 95.27 kB / 0.6865 GB, free: 9.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1954, allocations: 0 / 0.6865 GB, free: 9.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.1959, allocations: 92 kB / 0.6866 GB, free: 9.539 MB / 494.1 MB 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.0002318/0.1961, allocations: 119.7 kB / 0.6867 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009695/0.1971, allocations: 239.8 kB / 0.6869 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1971, allocations: 0 / 0.6869 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.1975, allocations: 104 kB / 0.687 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1978, allocations: 6.25 kB / 0.687 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.2003, allocations: 312.2 kB / 0.6873 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2005, allocations: 0.6887 MB / 0.688 GB, free: 8.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005358/0.2011, allocations: 51.94 kB / 0.688 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.2016, allocations: 15.42 kB / 0.6881 GB, free: 7.957 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2016, allocations: 0 / 0.6881 GB, free: 7.957 MB / 494.1 MB Notification: Performance of Templates: time 0.01115/0.2127, allocations: 8.311 MB / 0.6962 GB, free: 15.6 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)