Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001071/0.001071, allocations: 108.9 kB / 16.35 MB, free: 5.879 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.001123/0.001123, allocations: 194.6 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.1 MB / 223.2 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.3 MB / 0.5496 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.3 kB / 0.6729 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2255, allocations: 114.5 MB / 0.7848 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001987/0.2276, allocations: 0.6407 MB / 0.7854 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.228, allocations: 203.1 kB / 0.7856 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.228, allocations: 4 kB / 0.7856 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.2281, allocations: 0 / 0.7856 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.2282, allocations: 3.938 kB / 0.7856 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.2284, allocations: 79.75 kB / 0.7857 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.2285, allocations: 31.91 kB / 0.7857 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.2285, allocations: 4 kB / 0.7857 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.2286, allocations: 11.92 kB / 0.7857 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.2287, allocations: 27.91 kB / 0.7857 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2287, allocations: 4 kB / 0.7858 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.2289, allocations: 103.7 kB / 0.7858 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2289, allocations: 7.938 kB / 0.7859 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.2289, allocations: 15.92 kB / 0.7859 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2291, allocations: 107.7 kB / 0.786 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2291, allocations: 4 kB / 0.786 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2291, allocations: 0 / 0.786 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2291, allocations: 0 / 0.786 GB, free: 11.53 MB / 0.6075 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.0006038/0.2297, allocations: 367.4 kB / 0.7863 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2298, allocations: 11.97 kB / 0.7863 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2298, allocations: 8.844 kB / 0.7863 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.23, allocations: 180.3 kB / 0.7865 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.23, allocations: 384 / 0.7865 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.2301, allocations: 16.31 kB / 0.7865 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2302, allocations: 50.23 kB / 0.7866 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2302, allocations: 192 / 0.7866 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2302, allocations: 3.938 kB / 0.7866 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2303, allocations: 4 kB / 0.7866 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2304, allocations: 35.95 kB / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.2307, allocations: 244.9 kB / 0.7869 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2309, allocations: 78.41 kB / 0.7869 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.231, allocations: 20.94 kB / 0.787 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.231, allocations: 0 / 0.787 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.231, allocations: 34.56 kB / 0.787 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.231, allocations: 4 kB / 0.787 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02938/0.2604, allocations: 1.609 MB / 0.7886 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2605, allocations: 51.41 kB / 0.7886 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2606, allocations: 117.8 kB / 0.7887 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.2607, allocations: 29.7 kB / 0.7888 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.2608, allocations: 88.12 kB / 0.7888 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.2609, allocations: 27.56 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.2611, allocations: 25.7 kB / 0.7889 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.2612, allocations: 322.8 kB / 0.7892 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.2616, allocations: 143.9 kB / 0.7893 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.2621, allocations: 148.3 kB / 0.7895 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.2631, allocations: 300.9 kB / 0.7898 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2631, allocations: 0 / 0.7898 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001172/0.2643, allocations: 337.4 kB / 0.7901 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2643, allocations: 8 kB / 0.7901 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2643, allocations: 0 / 0.7901 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2644, allocations: 0 / 0.7901 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.266, allocations: 59.94 kB / 0.7901 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.266, allocations: 0 / 0.7901 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2674, allocations: 47.94 kB / 0.7902 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.2675, allocations: 7.938 kB / 0.7902 GB, free: 6.977 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.2677, allocations: 121.7 kB / 0.7903 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.2678, allocations: 4 kB / 0.7903 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.2679, allocations: 20.36 kB / 0.7903 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2679, allocations: 432 / 0.7903 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2679, allocations: 4 kB / 0.7903 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2679, allocations: 0 / 0.7903 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.2735, allocations: 0.8374 MB / 0.7912 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2735, allocations: 4 kB / 0.7912 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.2747, allocations: 51.94 kB / 0.7912 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2747, allocations: 11.98 kB / 0.7912 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.2747, allocations: 8.062 kB / 0.7912 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.2747, allocations: 7.922 kB / 0.7912 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2747, allocations: 0 / 0.7912 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.2757, allocations: 325.1 kB / 0.7916 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.2757, allocations: 81.11 kB / 0.7916 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.2758, allocations: 0 / 0.7916 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.2768, allocations: 43.89 kB / 0.7917 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.2768, allocations: 7.984 kB / 0.7917 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.2769, allocations: 8.031 kB / 0.7917 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.277, allocations: 103.2 kB / 0.7918 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.277, allocations: 0 / 0.7918 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004344/0.2774, allocations: 88 kB / 0.7919 GB, free: 5.152 MB / 0.6075 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 (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.0002657/0.2777, allocations: 119.2 kB / 0.792 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009876/0.2787, allocations: 239.8 kB / 0.7922 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2787, allocations: 4 kB / 0.7922 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.2791, allocations: 99.88 kB / 0.7923 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2794, allocations: 6.406 kB / 0.7923 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.2821, allocations: 306.5 kB / 0.7926 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2824, allocations: 0.687 MB / 0.7933 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003662/0.2828, allocations: 56.12 kB / 0.7933 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.2832, allocations: 19.36 kB / 0.7934 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.2832, allocations: 4 kB / 0.7934 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.01266/0.2959, allocations: 8.73 MB / 0.8019 GB, free: 10.79 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)