Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7638/0.7638, allocations: 143.4 MB / 159.2 MB, free: 4.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 187 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 102.1 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 278.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.88 kB / 0.6886 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2921, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002042/0.2942, allocations: 1.484 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.2952, allocations: 0.8119 MB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.2952, allocations: 0 / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.2953, allocations: 0 / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.777e-05/0.2953, allocations: 0 / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.2958, allocations: 137 kB / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.2958, allocations: 39.91 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.2959, allocations: 6.672 kB / 0.7704 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.2959, allocations: 15.92 kB / 0.7704 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.296, allocations: 19.92 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.296, allocations: 0 / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.2962, allocations: 195.7 kB / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.2963, allocations: 4 kB / 0.7706 GB, free: 24.94 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.2963, allocations: 23.86 kB / 0.7706 GB, free: 24.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.2965, allocations: 183.6 kB / 0.7708 GB, free: 24.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2965, allocations: 7.938 kB / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2965, allocations: 0 / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.2965, allocations: 0 / 0.7708 GB, free: 24.73 MB / 458.7 MB 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.0003294/0.2969, allocations: 426.8 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.2969, allocations: 12.03 kB / 0.7712 GB, free: 24.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.2969, allocations: 4.938 kB / 0.7712 GB, free: 24.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.508e-05/0.297, allocations: 176.2 kB / 0.7714 GB, free: 24.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.297, allocations: 4.375 kB / 0.7714 GB, free: 24.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.297, allocations: 384 / 0.7714 GB, free: 24.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2972, allocations: 81.98 kB / 0.7715 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2972, allocations: 7.938 kB / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2972, allocations: 0 / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2972, allocations: 0 / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.2973, allocations: 51.89 kB / 0.7715 GB, free: 23.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.2976, allocations: 272.9 kB / 0.7718 GB, free: 23.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.2977, allocations: 58.55 kB / 0.7718 GB, free: 23.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.2978, allocations: 48.91 kB / 0.7719 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2978, allocations: 0 / 0.7719 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.2978, allocations: 30.56 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2978, allocations: 0 / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002937/0.2981, allocations: 195.3 kB / 0.7721 GB, free: 23.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2981, allocations: 81.14 kB / 0.7722 GB, free: 23.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.2982, allocations: 121.8 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.2982, allocations: 29.7 kB / 0.7723 GB, free: 22.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.2983, allocations: 84.14 kB / 0.7724 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.2983, allocations: 7.906 kB / 0.7724 GB, free: 22.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.2983, allocations: 29.7 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.2984, allocations: 314.8 kB / 0.7727 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2984, allocations: 59.95 kB / 0.7728 GB, free: 22.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.2985, allocations: 63.95 kB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2987, allocations: 197.8 kB / 0.773 GB, free: 22.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2987, allocations: 0 / 0.773 GB, free: 22.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002161/0.2989, allocations: 220.9 kB / 0.7732 GB, free: 21.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.299, allocations: 63.39 kB / 0.7733 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.299, allocations: 0 / 0.7733 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.299, allocations: 4 kB / 0.7733 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.299, allocations: 0 / 0.7733 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2991, allocations: 7.938 kB / 0.7733 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.2991, allocations: 15.92 kB / 0.7733 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2991, allocations: 0 / 0.7733 GB, free: 21.82 MB / 458.7 MB 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 6.233e-05/0.2992, allocations: 151.5 kB / 0.7735 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.2992, allocations: 7.906 kB / 0.7735 GB, free: 21.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.2992, allocations: 7.906 kB / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2992, allocations: 0 / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2992, allocations: 0 / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2993, allocations: 4 kB / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2994, allocations: 181.6 kB / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2994, allocations: 0 / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.2994, allocations: 4 kB / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2994, allocations: 0 / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2994, allocations: 0 / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2994, allocations: 3.938 kB / 0.7737 GB, free: 21.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2994, allocations: 3.938 kB / 0.7737 GB, free: 21.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.2998, allocations: 0.8584 MB / 0.7745 GB, free: 20.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.2999, allocations: 81.11 kB / 0.7746 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2999, allocations: 0 / 0.7746 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.2999, allocations: 11.98 kB / 0.7746 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.3, allocations: 7.938 kB / 0.7746 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3, allocations: 0 / 0.7746 GB, free: 20.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.269e-05/0.3001, allocations: 95.7 kB / 0.7747 GB, free: 20.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3001, allocations: 4.031 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.3005, allocations: 67.98 kB / 0.7748 GB, free: 20.2 MB / 458.7 MB 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.0002061/0.3007, allocations: 143.8 kB / 0.7749 GB, free: 20.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3009, allocations: 238.7 kB / 0.7751 GB, free: 19.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3009, allocations: 0 / 0.7751 GB, free: 19.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.301, allocations: 107.3 kB / 0.7752 GB, free: 19.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.3012, allocations: 12.36 kB / 0.7753 GB, free: 19.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3015, allocations: 290.2 kB / 0.7755 GB, free: 19.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3016, allocations: 0.6887 MB / 0.7762 GB, free: 18.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.458e-05/0.3017, allocations: 0 / 0.7762 GB, free: 18.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.3017, allocations: 7.438 kB / 0.7762 GB, free: 18.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3017, allocations: 0 / 0.7762 GB, free: 18.62 MB / 458.7 MB Notification: Performance of Templates: time 0.003144/0.3048, allocations: 1.7 MB / 0.7779 GB, free: 16.95 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)