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.00123/0.00123, allocations: 102.8 kB / 16.35 MB, free: 5.879 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.0009658/0.0009658, allocations: 195.6 kB / 17.3 MB, free: 5.52 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 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.8074/0.8074, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.91 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 82.04 MB / 0.5957 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002035/0.3169, allocations: 1.405 MB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.3178, allocations: 0.7852 MB / 0.5978 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3178, allocations: 1.406 kB / 0.5978 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.3179, allocations: 7.938 kB / 0.5979 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.3179, allocations: 0 / 0.5979 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.3184, allocations: 175.5 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.3185, allocations: 61.08 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.3186, allocations: 0.9688 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.3186, allocations: 19.98 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.3187, allocations: 15.92 kB / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3187, allocations: 5.375 kB / 0.5981 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.3189, allocations: 203.7 kB / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.319, allocations: 4 kB / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.319, allocations: 29.2 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3192, allocations: 195.5 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3192, allocations: 0 / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3192, allocations: 0 / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3192, allocations: 1.531 kB / 0.5985 GB, free: 13.21 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.0003297/0.3196, allocations: 432.4 kB / 0.5989 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.3196, allocations: 8.031 kB / 0.599 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.3196, allocations: 9.578 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.953e-05/0.3197, allocations: 173.2 kB / 0.5991 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3197, allocations: 384 / 0.5991 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3197, allocations: 4.375 kB / 0.5991 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3199, allocations: 82.75 kB / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.3199, allocations: 1.5 kB / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3199, allocations: 0 / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3199, allocations: 0 / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.32, allocations: 51.91 kB / 0.5993 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.3203, allocations: 278.1 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.3204, allocations: 59.67 kB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.3204, allocations: 42.2 kB / 0.5996 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3205, allocations: 0 / 0.5996 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3205, allocations: 48.3 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3205, allocations: 0 / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002925/0.3208, allocations: 183.2 kB / 0.5998 GB, free: 11.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3208, allocations: 86.05 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.3209, allocations: 121.8 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.3209, allocations: 26.95 kB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.3209, allocations: 92.08 kB / 0.6002 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.3209, allocations: 8.516 kB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.321, allocations: 21.72 kB / 0.6002 GB, free: 11.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.321, allocations: 320.2 kB / 0.6005 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.3211, allocations: 59.95 kB / 0.6005 GB, free: 10.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.3212, allocations: 52.56 kB / 0.6006 GB, free: 10.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3213, allocations: 202.9 kB / 0.6008 GB, free: 10.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3214, allocations: 0 / 0.6008 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.3216, allocations: 222.3 kB / 0.601 GB, free: 10.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.3216, allocations: 59.41 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3216, allocations: 0 / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3216, allocations: 1.938 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.3217, allocations: 7.984 kB / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3217, allocations: 0 / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.3217, allocations: 7.938 kB / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3217, allocations: 7.031 kB / 0.6011 GB, free: 10.33 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 6.811e-05/0.3218, allocations: 151.5 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.3218, allocations: 3.906 kB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.3219, allocations: 11.91 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3219, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3219, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.3219, allocations: 4.172 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.322, allocations: 174.1 kB / 0.6014 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.322, allocations: 5.5 kB / 0.6014 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.322, allocations: 3.984 kB / 0.6014 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.322, allocations: 3.984 kB / 0.6014 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.322, allocations: 4 kB / 0.6014 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3221, allocations: 5.562 kB / 0.6014 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3221, allocations: 0 / 0.6014 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3222, allocations: 249.8 kB / 0.6017 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.3223, allocations: 78.61 kB / 0.6017 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3223, allocations: 4 kB / 0.6018 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.3224, allocations: 7.984 kB / 0.6018 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.3224, allocations: 5.188 kB / 0.6018 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.3224, allocations: 0 / 0.6018 GB, free: 9.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.3225, allocations: 106.4 kB / 0.6019 GB, free: 9.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3225, allocations: 0.9062 kB / 0.6019 GB, free: 9.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3227, allocations: 59.98 kB / 0.6019 GB, free: 9.367 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.0001844/0.3229, allocations: 152.6 kB / 0.6021 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3232, allocations: 239.6 kB / 0.6023 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3232, allocations: 0 / 0.6023 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/0.3233, allocations: 104.6 kB / 0.6024 GB, free: 8.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.3235, allocations: 7.938 kB / 0.6024 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.3237, allocations: 183 kB / 0.6026 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.3238, allocations: 0.6885 MB / 0.6033 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.215e-05/0.3238, allocations: 0.625 kB / 0.6033 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.3239, allocations: 13 kB / 0.6033 GB, free: 7.902 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3239, allocations: 0 / 0.6033 GB, free: 7.902 MB / 446.1 MB Notification: Performance of Templates: time 0.003236/0.3271, allocations: 1.775 MB / 0.605 GB, free: 6.234 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)