Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00145/0.00145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 76.36 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001782/0.283, allocations: 0.6089 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2846, allocations: 1.39 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2847, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.2847, allocations: 7.922 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.501e-05/0.2848, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.2854, allocations: 175.6 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.2855, allocations: 51.91 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.2855, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.2855, allocations: 27.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.2856, allocations: 19.97 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2856, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.2859, allocations: 199.7 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.286, allocations: 15.92 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.286, allocations: 23.86 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2863, allocations: 183.9 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2863, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2863, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2863, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 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.0004003/0.2867, allocations: 450.6 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2867, allocations: 8.031 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.2868, allocations: 8.844 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2869, allocations: 182 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.287, allocations: 384 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.287, allocations: 4.375 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2872, allocations: 97.95 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.2872, allocations: 0 / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2872, allocations: 4 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2872, allocations: 4 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.2873, allocations: 63.95 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.2874, allocations: 169.7 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2876, allocations: 86.47 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.2876, allocations: 64.89 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.2877, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2877, allocations: 38.5 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2877, allocations: 7.938 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003608/0.2881, allocations: 255.2 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.2881, allocations: 85.05 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.2882, allocations: 151.4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2883, allocations: 25.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.2883, allocations: 88.14 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2883, allocations: 11.81 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.2884, allocations: 29.7 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.2885, allocations: 322.9 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2886, allocations: 99.94 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2887, allocations: 103.9 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.289, allocations: 273.9 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.289, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003171/0.2893, allocations: 324.9 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.15e-05/0.2894, allocations: 71.38 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2894, allocations: 3.938 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2894, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.2894, allocations: 4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2894, allocations: 4.062 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2896, allocations: 11.84 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2896, allocations: 7.938 kB / 1.074 GB, free: 4.453 MB / 0.8262 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 9.869e-05/0.2897, allocations: 155.5 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.2897, allocations: 11.84 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.2897, allocations: 4.25 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2897, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.2897, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2897, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2899, allocations: 177.6 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2899, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-06/0.2899, allocations: 7.938 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2899, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2899, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2899, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2899, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.2902, allocations: 234.7 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.2902, allocations: 92.98 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2902, allocations: 0 / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.2903, allocations: 15.98 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.2903, allocations: 4 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2904, allocations: 0 / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.2904, allocations: 112.2 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 0 / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002717/0.2907, allocations: 67.92 kB / 1.075 GB, free: 3.473 MB / 0.8262 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.0002509/0.291, allocations: 155.8 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.2913, allocations: 370.6 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2913, allocations: 0 / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2915, allocations: 135.4 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2916, allocations: 7.984 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.292, allocations: 221.5 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2922, allocations: 0.6885 MB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.746e-06/0.2922, allocations: 4 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.2922, allocations: 11.38 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2922, allocations: 0 / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.004435/0.2967, allocations: 2.043 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)