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.001319/0.001319, allocations: 99.58 kB / 16.29 MB, free: 6.004 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.001323/0.001323, allocations: 183.9 kB / 17.22 MB, free: 5.617 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.198/1.198, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.595/1.595, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001306/0.001306, allocations: 67.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1781, allocations: 114.5 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001565/0.1797, allocations: 0.6125 MB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1812, allocations: 1.417 MB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1812, allocations: 4 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.1812, allocations: 3.938 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.1813, allocations: 7.984 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1818, allocations: 174.9 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.1819, allocations: 51.94 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 2.967e-05/0.1819, allocations: 7.922 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.1819, allocations: 23.98 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.182, allocations: 27.91 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.182, allocations: 7.938 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1823, allocations: 203.7 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.1823, allocations: 8 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.1824, allocations: 27.8 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1826, allocations: 191.8 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1826, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.325e-06/0.1826, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1826, allocations: 3.938 kB / 0.7868 GB, free: 1.059 MB / 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.000343/0.183, allocations: 438.7 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.183, allocations: 8.031 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1831, allocations: 8.844 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.929e-05/0.1832, allocations: 178.2 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1832, allocations: 4.375 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.1832, allocations: 384 / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1833, allocations: 97.95 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.1833, allocations: 0 / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1834, allocations: 4 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1834, allocations: 4 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.1835, allocations: 67.94 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2907/0.4741, allocations: 174.4 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4743, allocations: 81.7 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.4744, allocations: 67.69 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.4744, allocations: 0 / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4744, allocations: 37.03 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4744, allocations: 0.7188 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003156/0.4748, allocations: 250.6 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.4748, allocations: 83.56 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.4749, allocations: 147.8 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4749, allocations: 32.05 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.4749, allocations: 90.08 kB / 0.7885 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.475, allocations: 15.75 kB / 0.7885 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.475, allocations: 28.52 kB / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.475, allocations: 314.8 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.4751, allocations: 103.9 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.4752, allocations: 98.95 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4754, allocations: 278.2 kB / 0.7893 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4754, allocations: 0 / 0.7893 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002579/0.4757, allocations: 323.6 kB / 0.7896 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.4757, allocations: 75.67 kB / 0.7896 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4758, allocations: 0 / 0.7896 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4758, allocations: 2.75 kB / 0.7897 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.4758, allocations: 0 / 0.7897 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4758, allocations: 4.594 kB / 0.7897 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.4759, allocations: 12.95 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.476, allocations: 5.25 kB / 0.7897 GB, free: 47.77 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.545e-05/0.476, allocations: 150.4 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.4761, allocations: 10.36 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.4761, allocations: 7.188 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4761, allocations: 2.25 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4761, allocations: 9.688 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.4761, allocations: 1.688 kB / 0.7898 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.497e-05/0.4762, allocations: 172.5 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4762, allocations: 1.469 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.4762, allocations: 0 / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4762, allocations: 0 / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4762, allocations: 2.375 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4762, allocations: 1.375 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4762, allocations: 3.938 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.4764, allocations: 233.9 kB / 0.7902 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.4764, allocations: 79.73 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4764, allocations: 3.219 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.4765, allocations: 2.625 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.4765, allocations: 18.64 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.4766, allocations: 2.625 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.4766, allocations: 111.4 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4766, allocations: 0.5625 kB / 0.7905 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002606/0.4769, allocations: 63.5 kB / 0.7905 GB, free: 47.15 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.0002218/0.4771, allocations: 155.1 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.4774, allocations: 370.8 kB / 0.791 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4774, allocations: 0 / 0.791 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.4775, allocations: 136.9 kB / 0.7911 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.4777, allocations: 10.94 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.4779, allocations: 201.3 kB / 0.7913 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.478, allocations: 0.6945 MB / 0.792 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.219e-06/0.478, allocations: 0 / 0.792 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-06/0.478, allocations: 9.125 kB / 0.792 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.478, allocations: 0 / 0.792 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.0035/0.4815, allocations: 2.046 MB / 0.794 GB, free: 46.02 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)