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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 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.001562/0.001562, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002308, allocations: 283 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002702, allocations: 98.5 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1726, allocations: 86.98 MB / 0.6802 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001768/0.1744, allocations: 0.6329 MB / 0.6808 GB, free: 88 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.1748, allocations: 195.2 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1748, allocations: 0 / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1749, allocations: 4.656 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.175, allocations: 8.656 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1752, allocations: 77.44 kB / 0.6811 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.1753, allocations: 31.91 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1753, allocations: 0 / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.1754, allocations: 19.92 kB / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.1755, allocations: 19.91 kB / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1755, allocations: 8 kB / 0.6812 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1757, allocations: 107.7 kB / 0.6813 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.1757, allocations: 8 kB / 0.6813 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1757, allocations: 15.84 kB / 0.6813 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1759, allocations: 107.8 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1759, allocations: 0 / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1759, allocations: 0 / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1759, allocations: 0 / 0.6814 GB, free: 15.5 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.0004945/0.1764, allocations: 371.7 kB / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1765, allocations: 8.031 kB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1765, allocations: 8.844 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1766, allocations: 168.4 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1767, allocations: 4.375 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1767, allocations: 4.375 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1769, allocations: 50.23 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1769, allocations: 192 / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1769, allocations: 7.938 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1769, allocations: 4 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1771, allocations: 35.91 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.1774, allocations: 252.8 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1776, allocations: 66.47 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.1777, allocations: 28.94 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1777, allocations: 7.938 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1777, allocations: 38.44 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1777, allocations: 0 / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02832/0.206, allocations: 1.616 MB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2061, allocations: 51.41 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2062, allocations: 117.8 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.2063, allocations: 25.7 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.2063, allocations: 84.14 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.2064, allocations: 31.55 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2066, allocations: 25.7 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2068, allocations: 326.8 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.2073, allocations: 139.9 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.2078, allocations: 135.9 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2088, allocations: 304.7 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2088, allocations: 0 / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00119/0.21, allocations: 330.1 kB / 0.6855 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.21, allocations: 4 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2101, allocations: 3.984 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2101, allocations: 4.094 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.2117, allocations: 67.88 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2117, allocations: 4 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2131, allocations: 47.94 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.2132, allocations: 0 / 0.6856 GB, free: 10.95 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.0002017/0.2134, allocations: 119.1 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.2135, allocations: 7.906 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.2136, allocations: 16.38 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2136, allocations: 12.41 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2137, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2137, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/0.2195, allocations: 0.8414 MB / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2196, allocations: 0 / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.2207, allocations: 51.94 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.2208, allocations: 3.984 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.2208, allocations: 11.94 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.2208, allocations: 3.938 kB / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2209, allocations: 0 / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.2218, allocations: 321.2 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.2219, allocations: 89 kB / 0.687 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.222, allocations: 8 kB / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.223, allocations: 43.89 kB / 0.6871 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2231, allocations: 4 kB / 0.6871 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.2231, allocations: 3.984 kB / 0.6871 GB, free: 9.316 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.2232, allocations: 99.27 kB / 0.6872 GB, free: 9.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2232, allocations: 0 / 0.6872 GB, free: 9.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.2236, allocations: 92 kB / 0.6873 GB, free: 9.129 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.0002478/0.2239, allocations: 119.2 kB / 0.6874 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009671/0.2249, allocations: 239.9 kB / 0.6876 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2249, allocations: 0 / 0.6876 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.2253, allocations: 104 kB / 0.6877 GB, free: 8.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.2256, allocations: 6.344 kB / 0.6877 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.2283, allocations: 309.1 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2286, allocations: 0.6892 MB / 0.6887 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004875/0.2291, allocations: 51.98 kB / 0.6887 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.2295, allocations: 15.38 kB / 0.6887 GB, free: 7.551 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2295, allocations: 0 / 0.6887 GB, free: 7.551 MB / 494.1 MB Notification: Performance of Templates: time 0.01322/0.2428, allocations: 8.756 MB / 0.6973 GB, free: 14.75 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)