Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.564/1.564, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 192.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009662/0.0009665, allocations: 96.62 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.0009631, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2148, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001724/0.2165, allocations: 0.6822 MB / 0.9829 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2183, allocations: 1.452 MB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.2183, allocations: 0 / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.2184, allocations: 4 kB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.35e-05/0.2184, allocations: 4 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.2189, allocations: 135.7 kB / 0.9845 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.219, allocations: 43.84 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.219, allocations: 3.984 kB / 0.9845 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.2191, allocations: 19.98 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.2191, allocations: 31.91 kB / 0.9845 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2191, allocations: 4 kB / 0.9846 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.2194, allocations: 187.7 kB / 0.9847 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.2195, allocations: 15.91 kB / 0.9847 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.2195, allocations: 19.88 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2198, allocations: 187.8 kB / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2198, allocations: 0 / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2198, allocations: 0 / 0.9849 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.2198, allocations: 3.938 kB / 0.9849 GB, free: 7.582 MB / 0.7136 GB 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.0003854/0.2202, allocations: 438.8 kB / 0.9854 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2202, allocations: 12.03 kB / 0.9854 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.2203, allocations: 8.844 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.2204, allocations: 178.4 kB / 0.9856 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2204, allocations: 4.375 kB / 0.9856 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2204, allocations: 4.375 kB / 0.9856 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2205, allocations: 97.95 kB / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.2206, allocations: 0 / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2206, allocations: 0 / 0.9857 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2206, allocations: 3.938 kB / 0.9857 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.2207, allocations: 63.95 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.2208, allocations: 181.5 kB / 0.9859 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.2209, allocations: 82.52 kB / 0.986 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.221, allocations: 72.89 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.221, allocations: 0 / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2211, allocations: 38.5 kB / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.2211, allocations: 0 / 0.9861 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000344/0.2214, allocations: 255.2 kB / 0.9863 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2215, allocations: 81.09 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2216, allocations: 145.7 kB / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2216, allocations: 25.7 kB / 0.9866 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.2217, allocations: 96.12 kB / 0.9867 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.2217, allocations: 15.8 kB / 0.9867 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.2217, allocations: 29.7 kB / 0.9867 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.2218, allocations: 314.8 kB / 0.987 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.222, allocations: 108 kB / 0.9871 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2221, allocations: 99.94 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2223, allocations: 281.7 kB / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2223, allocations: 0 / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003321/0.2227, allocations: 332.7 kB / 0.9878 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.2227, allocations: 75.38 kB / 0.9879 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2228, allocations: 3.984 kB / 0.9879 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2228, allocations: 0 / 0.9879 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-06/0.2228, allocations: 8 kB / 0.9879 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2228, allocations: 0 / 0.9879 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2229, allocations: 15.91 kB / 0.9879 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.223, allocations: 4 kB / 0.9879 GB, free: 4.281 MB / 0.7136 GB 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 9.677e-05/0.2231, allocations: 155.5 kB / 0.988 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.2231, allocations: 7.938 kB / 0.988 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.2231, allocations: 8.234 kB / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2231, allocations: 0 / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2231, allocations: 0 / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2231, allocations: 0 / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2232, allocations: 177.5 kB / 0.9882 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2232, allocations: 4 kB / 0.9882 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.2233, allocations: 7.875 kB / 0.9882 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2233, allocations: 4 kB / 0.9882 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2233, allocations: 0 / 0.9882 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2233, allocations: 0 / 0.9882 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2233, allocations: 0 / 0.9882 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.2239, allocations: 0.8754 MB / 0.9891 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.2239, allocations: 81.02 kB / 0.9892 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2239, allocations: 7.984 kB / 0.9892 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.224, allocations: 4 kB / 0.9892 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.224, allocations: 7.984 kB / 0.9892 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2241, allocations: 0 / 0.9892 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.2241, allocations: 113.1 kB / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2241, allocations: 0 / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003606/0.2245, allocations: 67.92 kB / 0.9894 GB, free: 2.621 MB / 0.7136 GB 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.0002375/0.2247, allocations: 151.2 kB / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.2251, allocations: 374.6 kB / 0.9899 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2251, allocations: 0 / 0.9899 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2252, allocations: 135.3 kB / 0.99 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.2254, allocations: 4 kB / 0.99 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.2257, allocations: 334.3 kB / 0.9903 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2259, allocations: 0.6887 MB / 0.991 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.616e-06/0.226, allocations: 0 / 0.991 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-06/0.226, allocations: 7.438 kB / 0.991 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.226, allocations: 3.938 kB / 0.991 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of Templates: time 0.003708/0.2297, allocations: 1.986 MB / 0.9929 GB, free: 14.86 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)