Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0007983/0.0007985, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004976/0.004976, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 11.88 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001572/0.2778, allocations: 1.162 MB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2791, allocations: 0.8144 MB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.2791, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.863e-05/0.2792, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.2792, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.2798, allocations: 139.7 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.2799, allocations: 31.97 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.2799, allocations: 8 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.28, allocations: 7.938 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.2801, allocations: 19.97 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2801, allocations: 3.938 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2804, allocations: 195.7 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.2805, allocations: 12 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.2805, allocations: 45.56 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2808, allocations: 179.6 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2808, allocations: 0 / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2808, allocations: 4 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2808, allocations: 0 / 1.077 GB, free: 4.891 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.0005082/0.2813, allocations: 423.1 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2814, allocations: 8.031 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.2814, allocations: 8.844 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2816, allocations: 176.2 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2816, allocations: 4.375 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2816, allocations: 4.312 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.2818, allocations: 81.98 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2818, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2819, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2819, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.282, allocations: 63.89 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.2824, allocations: 276.9 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2825, allocations: 54.56 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.455e-05/0.2826, allocations: 48.91 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.2827, allocations: 4 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2827, allocations: 34.5 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2827, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003969/0.2831, allocations: 191.3 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.2832, allocations: 77.11 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2833, allocations: 133.8 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2833, allocations: 25.7 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.2833, allocations: 88.14 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2834, allocations: 11.78 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2834, allocations: 21.7 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2835, allocations: 310.8 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2836, allocations: 59.97 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.2837, allocations: 63.95 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.284, allocations: 205.8 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.284, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002939/0.2843, allocations: 221.2 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.2844, allocations: 67.39 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2844, allocations: 0 / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2844, allocations: 8.047 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.2845, allocations: 7.984 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2845, allocations: 0 / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.2845, allocations: 7.984 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2845, allocations: 4 kB / 1.079 GB, free: 1.965 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.0001123/0.2847, allocations: 153.2 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.2847, allocations: 7.984 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.2847, allocations: 7.906 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2847, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2847, allocations: 0 / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2848, allocations: 3.938 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2849, allocations: 185.5 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2849, allocations: 0 / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.285, allocations: 4 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.285, allocations: 0 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.285, allocations: 0 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.285, allocations: 0 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.285, allocations: 0 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.2853, allocations: 261.1 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.2853, allocations: 81.02 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2854, allocations: 4 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.2854, allocations: 4 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.2855, allocations: 11.98 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2856, allocations: 4.031 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.2856, allocations: 95.27 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2856, allocations: 0 / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003275/0.286, allocations: 63.98 kB / 1.08 GB, free: 0.9844 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.0002602/0.2862, allocations: 151.2 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2866, allocations: 246.7 kB / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2866, allocations: 0 / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.2867, allocations: 107.4 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2869, allocations: 7.875 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.2873, allocations: 184.6 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2876, allocations: 0.6888 MB / 1.081 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.2876, allocations: 0 / 1.081 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.2876, allocations: 11.44 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.2876, allocations: 3.938 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.004265/0.2919, allocations: 1.637 MB / 1.083 GB, free: 13.9 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)