Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.762/2.762, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001561/0.001561, allocations: 180.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 78.38 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 18.42 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008211/0.2274, allocations: 369.8 kB / 0.9786 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.2279, allocations: 177.2 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.2279, allocations: 0 / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2279, allocations: 3.938 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.2281, allocations: 7.984 kB / 0.9787 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.2283, allocations: 67.81 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.15e-05/0.2284, allocations: 15.97 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.2284, allocations: 4 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.2285, allocations: 15.92 kB / 0.9788 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2286, allocations: 27.91 kB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2286, allocations: 0 / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.2288, allocations: 103.7 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.2289, allocations: 15.97 kB / 0.979 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.2289, allocations: 25.7 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2291, allocations: 67.95 kB / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2291, allocations: 0 / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2291, allocations: 0 / 0.9791 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2291, allocations: 0 / 0.9791 GB, free: 27.48 MB / 0.6198 GB 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.0005521/0.2297, allocations: 369.4 kB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2297, allocations: 12.03 kB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.2298, allocations: 3.906 kB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2299, allocations: 178.9 kB / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2299, allocations: 8 kB / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.23, allocations: 0 / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2302, allocations: 57.67 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2302, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2302, allocations: 4 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2302, allocations: 0 / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2305, allocations: 39.97 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.2308, allocations: 260.8 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.2311, allocations: 74.53 kB / 0.98 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2311, allocations: 4 kB / 0.98 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2312, allocations: 38.5 kB / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.2312, allocations: 0 / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.05615/0.2874, allocations: 1.753 MB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2875, allocations: 63.34 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2876, allocations: 121.8 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.2878, allocations: 25.7 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.2879, allocations: 92.05 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.2881, allocations: 27.64 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.2883, allocations: 0 / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.2884, allocations: 314.8 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.2899, allocations: 163.9 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.2914, allocations: 160.2 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.293, allocations: 160 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2931, allocations: 0 / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003743/0.2968, allocations: 389.3 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.2969, allocations: 8 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2969, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.297, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/0.3016, allocations: 79.89 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.3017, allocations: 3.953 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/0.3057, allocations: 59.94 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.3059, allocations: 7.984 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.3063, allocations: 113.8 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.3065, allocations: 11.89 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.3069, allocations: 20.38 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3069, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3069, allocations: 0 / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3069, allocations: 3.953 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.3234, allocations: 0.9119 MB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3234, allocations: 0 / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00387/0.3273, allocations: 67.91 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.3274, allocations: 3.953 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.3276, allocations: 15.91 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3276, allocations: 3.938 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3276, allocations: 0 / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.3305, allocations: 400.5 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.3306, allocations: 85 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3308, allocations: 8 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/0.334, allocations: 43.95 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3341, allocations: 3.984 kB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.3342, allocations: 12.27 kB / 0.985 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.3343, allocations: 103.1 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3343, allocations: 0 / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005908/0.3349, allocations: 92 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.3352, allocations: 127.2 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.337, allocations: 279.8 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3371, allocations: 0 / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.3378, allocations: 116 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3381, allocations: 15.94 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.3433, allocations: 348.3 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3435, allocations: 0.6887 MB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009025/0.3445, allocations: 55.98 kB / 0.9868 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/0.3453, allocations: 31.38 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.3453, allocations: 0 / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.01711/0.3625, allocations: 8.162 MB / 0.9948 GB, free: 10.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)