Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, 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.001152/0.001152, allocations: 193.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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.08 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2717, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002519/0.2742, allocations: 1.436 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2754, allocations: 0.783 MB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.2755, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.2755, allocations: 7.922 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.2756, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.2762, allocations: 179.5 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.2763, allocations: 39.98 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.264e-05/0.2764, allocations: 11.98 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.2764, allocations: 15.94 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.2765, allocations: 19.97 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2765, allocations: 4 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.2768, allocations: 207.7 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.2769, allocations: 7.984 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.2769, allocations: 19.88 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2772, allocations: 191.9 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2772, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2772, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2772, allocations: 0 / 1.071 GB, free: 7.441 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.0004734/0.2777, allocations: 434.7 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2778, allocations: 8.031 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2778, allocations: 4.938 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2779, allocations: 176.2 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2779, allocations: 384 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.2779, allocations: 4.375 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2781, allocations: 81.92 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2781, allocations: 3.984 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2781, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2782, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2783, allocations: 55.91 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.2786, allocations: 272.9 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.2788, allocations: 58.5 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.2789, allocations: 44.91 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2789, allocations: 7.984 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2789, allocations: 38.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2789, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.2793, allocations: 187.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2793, allocations: 81.11 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.2794, allocations: 121.8 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2794, allocations: 25.7 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.2795, allocations: 96.16 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.2795, allocations: 7.844 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2796, allocations: 25.7 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2797, allocations: 318.8 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.2798, allocations: 55.95 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.2799, allocations: 55.97 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.2801, allocations: 201.8 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2801, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002809/0.2804, allocations: 220.9 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.2805, allocations: 63.39 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2805, allocations: 0 / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2805, allocations: 0 / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.2805, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2806, allocations: 0 / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.2806, allocations: 7.984 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2806, allocations: 4 kB / 1.074 GB, free: 4.539 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 0.0001024/0.2807, allocations: 155.5 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.2808, allocations: 7.844 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.2808, allocations: 11.91 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2808, allocations: 64 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2808, allocations: 4 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2808, allocations: 3.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.281, allocations: 173.6 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.281, allocations: 4 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.281, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.281, allocations: 0 / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.281, allocations: 8 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2811, allocations: 3.984 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2811, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2813, allocations: 245.1 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.2814, allocations: 81.02 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2814, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.2815, allocations: 7.984 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.2816, allocations: 15.97 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2816, allocations: 0 / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.2816, allocations: 95.27 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2816, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003172/0.282, allocations: 63.98 kB / 1.074 GB, free: 3.562 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0002416/0.2822, allocations: 153.2 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.2825, allocations: 238.7 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2825, allocations: 4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.2827, allocations: 103.4 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2829, allocations: 8.875 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.2832, allocations: 173.4 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2835, allocations: 0.6962 MB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.2835, allocations: 11.94 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.2835, allocations: 7.438 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2835, allocations: 0 / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.00401/0.2875, allocations: 1.769 MB / 1.077 GB, free: 360 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)