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.001056/0.001056, allocations: 106.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.001049/0.001049, allocations: 191 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.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001383/0.001383, allocations: 70.25 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.196, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001658/0.1977, allocations: 0.6137 MB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1993, allocations: 1.424 MB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.1993, allocations: 0 / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.1994, allocations: 4 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.1994, allocations: 3.938 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.2, allocations: 179.5 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.2001, allocations: 51.95 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.2001, allocations: 4 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.2002, allocations: 19.92 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.2002, allocations: 23.91 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2002, allocations: 4 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.2006, allocations: 199.7 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.2006, allocations: 15.98 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2006, allocations: 19.81 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2009, allocations: 195.5 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2009, allocations: 8 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2009, allocations: 0 / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2009, allocations: 0 / 0.7875 GB, free: 404 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.317/0.518, allocations: 427.8 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.518, allocations: 8.828 kB / 0.7879 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5181, allocations: 8.938 kB / 0.7879 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5182, allocations: 174.7 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.5182, allocations: 2.469 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.5182, allocations: 3.688 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.5184, allocations: 99.94 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5184, allocations: 0 / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5185, allocations: 3.938 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5185, allocations: 2.844 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.5186, allocations: 66.25 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5187, allocations: 174.6 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.5188, allocations: 79.38 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.5189, allocations: 70.92 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.5189, allocations: 2.625 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5189, allocations: 31.78 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.5189, allocations: 0.6562 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000343/0.5193, allocations: 259.9 kB / 0.7888 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.5193, allocations: 80.86 kB / 0.7889 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5194, allocations: 146 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.5194, allocations: 25.7 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.5195, allocations: 93.22 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.5195, allocations: 11 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.5195, allocations: 30.62 kB / 0.7892 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.5196, allocations: 322 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.5197, allocations: 100.9 kB / 0.7896 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.5198, allocations: 107.1 kB / 0.7897 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.52, allocations: 277.3 kB / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.52, allocations: 0 / 0.79 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002639/0.5203, allocations: 318.8 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.5203, allocations: 75.36 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.5203, allocations: 0 / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5204, allocations: 3.188 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.5204, allocations: 2.781 kB / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5204, allocations: 0 / 0.7903 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.5205, allocations: 16.7 kB / 0.7904 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5205, allocations: 4.719 kB / 0.7904 GB, free: 47.46 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 6.738e-05/0.5206, allocations: 154.2 kB / 0.7905 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.5206, allocations: 10.47 kB / 0.7905 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.5207, allocations: 9.078 kB / 0.7905 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5207, allocations: 3.25 kB / 0.7905 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5207, allocations: 0 / 0.7905 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.5207, allocations: 5.141 kB / 0.7905 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.273e-05/0.5207, allocations: 174.8 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5207, allocations: 0 / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5208, allocations: 0 / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5208, allocations: 3.938 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5208, allocations: 3.312 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5208, allocations: 4.344 kB / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5208, allocations: 0 / 0.7907 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.521, allocations: 234.4 kB / 0.7909 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.521, allocations: 83.64 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.521, allocations: 6.156 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.5211, allocations: 4.312 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.5212, allocations: 12.98 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.5212, allocations: 2.344 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.5212, allocations: 104.2 kB / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5212, allocations: 0 / 0.7911 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002963/0.5215, allocations: 70.05 kB / 0.7912 GB, free: 46.84 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.0002174/0.5217, allocations: 147.3 kB / 0.7913 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.5221, allocations: 371.5 kB / 0.7917 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5221, allocations: 3.5 kB / 0.7917 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.5222, allocations: 136.8 kB / 0.7918 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.5223, allocations: 6.812 kB / 0.7918 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5226, allocations: 208.9 kB / 0.792 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.5228, allocations: 0.6919 MB / 0.7927 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.841e-06/0.5228, allocations: 4.453 kB / 0.7927 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-06/0.5228, allocations: 7.938 kB / 0.7927 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5228, allocations: 2.781 kB / 0.7927 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.003877/0.5267, allocations: 2.043 MB / 0.7947 GB, free: 45.7 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)