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.001415/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001313, allocations: 192 kB / 16.14 MB, free: 6.688 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.98 kB / 0.9114 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002395/0.2893, allocations: 1.504 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2906, allocations: 0.8144 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.2906, allocations: 4 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.2907, allocations: 7.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.2908, allocations: 3.984 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.2913, allocations: 126.9 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.2913, allocations: 43.91 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.2914, allocations: 3.984 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.2915, allocations: 23.92 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2915, allocations: 15.92 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2915, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2918, allocations: 191.7 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.2919, allocations: 7.984 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.2919, allocations: 23.86 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.2922, allocations: 175.7 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2922, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2922, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2922, allocations: 0 / 1.07 GB, free: 7.965 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.00047/0.2927, allocations: 446.9 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2927, allocations: 8.031 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2928, allocations: 4.938 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2929, allocations: 176.2 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2929, allocations: 384 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2929, allocations: 4.375 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2931, allocations: 81.97 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2931, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2931, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2931, allocations: 7.938 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2933, allocations: 47.97 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.2936, allocations: 276.8 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2938, allocations: 58.55 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.2939, allocations: 44.91 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2939, allocations: 4 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2939, allocations: 34.56 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2939, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003891/0.2943, allocations: 187.2 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.2944, allocations: 81.11 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.2945, allocations: 121.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2945, allocations: 25.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.2945, allocations: 96.16 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.2946, allocations: 7.844 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.2946, allocations: 21.72 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2947, allocations: 322.8 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2948, allocations: 51.97 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.2949, allocations: 59.91 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2951, allocations: 197.8 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2952, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002864/0.2955, allocations: 228.9 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.2955, allocations: 59.41 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2955, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2955, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.2956, allocations: 7.984 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2956, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.2957, allocations: 4 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2957, allocations: 4 kB / 1.073 GB, free: 5.055 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 9.297e-05/0.2958, allocations: 155.5 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2958, allocations: 3.906 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2958, allocations: 11.91 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2958, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2959, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2959, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.296, allocations: 173.6 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.296, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.2961, allocations: 3.984 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2961, allocations: 4.234 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2961, allocations: 4 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2961, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2961, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.2964, allocations: 253.1 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2964, allocations: 84.95 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2965, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.2965, allocations: 16.02 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2967, allocations: 4 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-06/0.2967, allocations: 0 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.2967, allocations: 99.25 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2967, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003237/0.2971, allocations: 60 kB / 1.074 GB, free: 4.082 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.0002473/0.2973, allocations: 155.1 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.2977, allocations: 238.7 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2977, allocations: 3.938 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2978, allocations: 103.4 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.298, allocations: 10.05 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2984, allocations: 179.3 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2986, allocations: 0.6888 MB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.2986, allocations: 3.906 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.2987, allocations: 11.44 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2987, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of Templates: time 0.003895/0.3026, allocations: 1.656 MB / 1.077 GB, free: 0.9844 MB / 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)