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.0009333/0.0009333, 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.0009522/0.0009522, allocations: 188.8 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 290.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 96.56 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1714, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001895/0.1734, allocations: 0.6862 MB / 0.6803 GB, free: 376 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.1738, allocations: 199.2 kB / 0.6805 GB, free: 176 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.1739, allocations: 0 / 0.6805 GB, free: 176 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1739, allocations: 0 / 0.6805 GB, free: 176 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1741, allocations: 15.88 kB / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1743, allocations: 67.88 kB / 0.6806 GB, free: 92 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.1744, allocations: 24.64 kB / 0.6806 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.1744, allocations: 4 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.1744, allocations: 16.8 kB / 0.6806 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.1745, allocations: 23.91 kB / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1745, allocations: 0 / 0.6806 GB, free: 24 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1748, allocations: 112.4 kB / 0.6808 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1748, allocations: 5.453 kB / 0.6808 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1748, allocations: 15.88 kB / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.175, allocations: 107.7 kB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.175, allocations: 4 kB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.175, allocations: 4 kB / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.175, allocations: 0 / 0.6809 GB, free: 15.78 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.0005254/0.1755, allocations: 369.7 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1756, allocations: 8.031 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.1756, allocations: 8.844 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1757, allocations: 168.4 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1758, allocations: 4.312 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1758, allocations: 4.375 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1759, allocations: 58.23 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1759, allocations: 192 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.176, allocations: 3.938 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.176, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1761, allocations: 39.95 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.1764, allocations: 244.8 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1766, allocations: 78.47 kB / 0.6818 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.1766, allocations: 28.88 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1766, allocations: 0 / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1767, allocations: 38.55 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.1767, allocations: 4 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02842/0.2051, allocations: 1.605 MB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2052, allocations: 51.41 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2053, allocations: 121.8 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.2054, allocations: 29.7 kB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.2054, allocations: 88.12 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.2055, allocations: 31.55 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.2057, allocations: 29.7 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2059, allocations: 318.8 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.2063, allocations: 143.9 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.2068, allocations: 147.9 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.2077, allocations: 292.8 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2078, allocations: 0 / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00113/0.2089, allocations: 333.5 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2089, allocations: 8 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2089, allocations: 0 / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2089, allocations: 0 / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.2105, allocations: 55.94 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2105, allocations: 7.984 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.2119, allocations: 43.95 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.2119, allocations: 4.656 kB / 0.6851 GB, free: 11.24 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.0001847/0.2121, allocations: 127 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.2122, allocations: 7.906 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.2123, allocations: 16.38 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2124, allocations: 0 / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2124, allocations: 0 / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2124, allocations: 0 / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/0.218, allocations: 0.8493 MB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2181, allocations: 0 / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.2192, allocations: 59.88 kB / 0.6861 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2192, allocations: 8 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.2193, allocations: 7.984 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2193, allocations: 3.938 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2193, allocations: 0 / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.2202, allocations: 321.2 kB / 0.6865 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2203, allocations: 85.02 kB / 0.6865 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.2203, allocations: 0 / 0.6865 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.2214, allocations: 47.89 kB / 0.6866 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.2214, allocations: 7.922 kB / 0.6866 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.2214, allocations: 4 kB / 0.6866 GB, free: 9.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.23e-05/0.2215, allocations: 99.27 kB / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2215, allocations: 0 / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.2219, allocations: 92 kB / 0.6868 GB, free: 9.414 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.0001997/0.2221, allocations: 115.2 kB / 0.6869 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00093/0.2231, allocations: 243.8 kB / 0.6871 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2231, allocations: 4 kB / 0.6871 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.2235, allocations: 95.88 kB / 0.6872 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2238, allocations: 9.828 kB / 0.6872 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2265, allocations: 314.8 kB / 0.6875 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2267, allocations: 0.6885 MB / 0.6882 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000545/0.2273, allocations: 55.98 kB / 0.6882 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.2278, allocations: 15.42 kB / 0.6883 GB, free: 7.824 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2278, allocations: 0 / 0.6883 GB, free: 7.824 MB / 494.1 MB Notification: Performance of Templates: time 0.01247/0.2402, allocations: 8.742 MB / 0.6968 GB, free: 15.04 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)