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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001153/0.001153, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.69/1.69, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001428/0.001429, allocations: 75.02 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002114/0.2867, allocations: 0.6171 MB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2888, allocations: 1.428 MB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.2888, allocations: 4 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.2889, allocations: 3.938 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.289, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.2897, allocations: 175.6 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2898, allocations: 47.91 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.2899, allocations: 7.984 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.2899, allocations: 23.92 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.29, allocations: 27.91 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.29, allocations: 4 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.2903, allocations: 199.7 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.2904, allocations: 11.98 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.2905, allocations: 19.81 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2907, allocations: 191.6 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2907, allocations: 0 / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of FrontEnd: time 4.359e-06/0.2908, allocations: 0 / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2908, allocations: 3.938 kB / 0.7875 GB, free: 372 kB / 0.6544 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.5245/0.8153, allocations: 433.1 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.8154, allocations: 8.938 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.8154, allocations: 10.16 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.8155, allocations: 178.8 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.8156, allocations: 5.5 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.8156, allocations: 2.578 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8158, allocations: 93.98 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8158, allocations: 0 / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8158, allocations: 7.25 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8158, allocations: 1.219 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.8159, allocations: 63.5 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.816, allocations: 176.2 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.8161, allocations: 80.97 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.8162, allocations: 70.39 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.8162, allocations: 0.7812 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.8163, allocations: 35.09 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8163, allocations: 0 / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003417/0.8166, allocations: 261.1 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8167, allocations: 79.8 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.8168, allocations: 150.7 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.8168, allocations: 25.7 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.8168, allocations: 91.73 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.8168, allocations: 13.62 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.8169, allocations: 29.8 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.8169, allocations: 322.3 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.817, allocations: 98.14 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.8171, allocations: 103.9 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.8174, allocations: 283.5 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8174, allocations: 0.5938 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002847/0.8177, allocations: 320.7 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.8177, allocations: 73.95 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8177, allocations: 0 / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8177, allocations: 0 / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.8177, allocations: 3.5 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8178, allocations: 5.844 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.8179, allocations: 17.22 kB / 0.7904 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.8179, allocations: 2.625 kB / 0.7904 GB, free: 47.31 MB / 0.6544 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 8.381e-05/0.818, allocations: 148.4 kB / 0.7905 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.818, allocations: 16.38 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.818, allocations: 6.875 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.818, allocations: 0 / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.818, allocations: 0.5625 kB / 0.7905 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.818, allocations: 2.688 kB / 0.7906 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.789e-05/0.8181, allocations: 168.7 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8181, allocations: 2.625 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.8181, allocations: 0 / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8181, allocations: 5.062 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.8182, allocations: 6.938 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8182, allocations: 0 / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8182, allocations: 6.703 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.8184, allocations: 231 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.8184, allocations: 81.02 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.8184, allocations: 6.562 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.8185, allocations: 5.578 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.8185, allocations: 9.078 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.8185, allocations: 5.562 kB / 0.7911 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.8186, allocations: 103.5 kB / 0.7912 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8186, allocations: 3.125 kB / 0.7912 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003032/0.8189, allocations: 69.23 kB / 0.7912 GB, free: 46.69 MB / 0.6544 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.0002372/0.8192, allocations: 153.9 kB / 0.7914 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.8195, allocations: 375.7 kB / 0.7917 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8195, allocations: 0.8125 kB / 0.7917 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.8196, allocations: 137.4 kB / 0.7919 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.8198, allocations: 4.719 kB / 0.7919 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.8201, allocations: 232.9 kB / 0.7921 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.8202, allocations: 0.6918 MB / 0.7928 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-06/0.8202, allocations: 7.438 kB / 0.7928 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8202, allocations: 0.625 kB / 0.7928 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.002876/0.8231, allocations: 1.661 MB / 0.7944 GB, free: 45.5 MB / 0.6544 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)