Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001061/0.001061, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.001014/0.001014, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8221/0.8221, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 67.89 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 82.03 MB / 0.5957 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002004/0.2966, allocations: 1.417 MB / 0.5971 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2975, allocations: 0.7868 MB / 0.5979 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2975, allocations: 0 / 0.5979 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.252e-05/0.2976, allocations: 3.938 kB / 0.5979 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.2976, allocations: 0 / 0.5979 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.2981, allocations: 169.3 kB / 0.598 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.2982, allocations: 58.09 kB / 0.5981 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.2983, allocations: 9.484 kB / 0.5981 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.2983, allocations: 15.98 kB / 0.5981 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.2984, allocations: 19.92 kB / 0.5981 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2984, allocations: 4 kB / 0.5981 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2986, allocations: 200.8 kB / 0.5983 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.2987, allocations: 7.984 kB / 0.5983 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.2987, allocations: 23.86 kB / 0.5983 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.2989, allocations: 196.5 kB / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2989, allocations: 0 / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2989, allocations: 0 / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2989, allocations: 5.438 kB / 0.5985 GB, free: 13.4 MB / 446.1 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.0003405/0.2993, allocations: 436.5 kB / 0.599 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.2993, allocations: 8.781 kB / 0.599 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.2994, allocations: 4.938 kB / 0.599 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.2994, allocations: 169.6 kB / 0.5991 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2994, allocations: 4.375 kB / 0.5991 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2995, allocations: 384 / 0.5991 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2996, allocations: 83.44 kB / 0.5992 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.2996, allocations: 0 / 0.5992 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.2996, allocations: 4 kB / 0.5992 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2996, allocations: 0 / 0.5992 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.2997, allocations: 44.53 kB / 0.5993 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.3, allocations: 282.4 kB / 0.5995 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.3001, allocations: 55.92 kB / 0.5996 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.3002, allocations: 48.91 kB / 0.5996 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3002, allocations: 0.75 kB / 0.5996 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3002, allocations: 39.98 kB / 0.5997 GB, free: 12.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3002, allocations: 0 / 0.5997 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000293/0.3005, allocations: 191.2 kB / 0.5999 GB, free: 11.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3006, allocations: 77.89 kB / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.3006, allocations: 127.8 kB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3007, allocations: 25.7 kB / 0.6001 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.3007, allocations: 92.06 kB / 0.6002 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.3007, allocations: 7.906 kB / 0.6002 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3007, allocations: 23.53 kB / 0.6002 GB, free: 11.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.3008, allocations: 314.8 kB / 0.6005 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.3009, allocations: 55.97 kB / 0.6005 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.3009, allocations: 57.31 kB / 0.6006 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3011, allocations: 197.8 kB / 0.6008 GB, free: 10.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3011, allocations: 0 / 0.6008 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002003/0.3013, allocations: 226.3 kB / 0.601 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3014, allocations: 59.41 kB / 0.6011 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3014, allocations: 4 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3014, allocations: 1.469 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.3014, allocations: 3.984 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3014, allocations: 4 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.3015, allocations: 9.281 kB / 0.6011 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3015, allocations: 0 / 0.6011 GB, free: 10.53 MB / 446.1 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 5.926e-05/0.3016, allocations: 152.6 kB / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3016, allocations: 7.906 kB / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.3016, allocations: 7.906 kB / 0.6012 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3016, allocations: 1.094 kB / 0.6012 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3016, allocations: 8 kB / 0.6012 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3016, allocations: 1.344 kB / 0.6013 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3018, allocations: 169.6 kB / 0.6014 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3018, allocations: 0 / 0.6014 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.3018, allocations: 7.984 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3018, allocations: 1.344 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3018, allocations: 4 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3018, allocations: 0 / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3018, allocations: 9.219 kB / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.302, allocations: 246.3 kB / 0.6017 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.302, allocations: 77.11 kB / 0.6017 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3021, allocations: 4 kB / 0.6017 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.3021, allocations: 9.328 kB / 0.6018 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.3022, allocations: 8 kB / 0.6018 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.3022, allocations: 0 / 0.6018 GB, free: 9.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.3023, allocations: 102.4 kB / 0.6019 GB, free: 9.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3023, allocations: 3.938 kB / 0.6019 GB, free: 9.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.3025, allocations: 61.36 kB / 0.6019 GB, free: 9.562 MB / 446.1 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.0001851/0.3027, allocations: 148.5 kB / 0.6021 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.303, allocations: 242.7 kB / 0.6023 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.303, allocations: 1.438 kB / 0.6023 GB, free: 9.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.3031, allocations: 103.4 kB / 0.6024 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3033, allocations: 7.938 kB / 0.6024 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.3036, allocations: 186.8 kB / 0.6026 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.609e-05/0.3037, allocations: 0.6846 MB / 0.6032 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.3037, allocations: 1.469 kB / 0.6033 GB, free: 8.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.3037, allocations: 11.44 kB / 0.6033 GB, free: 8.098 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3037, allocations: 0 / 0.6033 GB, free: 8.098 MB / 446.1 MB Notification: Performance of Templates: time 0.003309/0.307, allocations: 1.778 MB / 0.605 GB, free: 6.43 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)