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.00779/0.00779, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001857/0.001857, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.9807/0.9807, allocations: 143 MB / 433.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.5955 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4126, allocations: 82.03 MB / 0.6757 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002194/0.4148, allocations: 1.406 MB / 0.677 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.416, allocations: 0.7874 MB / 0.6778 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.416, allocations: 1.281 kB / 0.6778 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.4161, allocations: 3.938 kB / 0.6778 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.4162, allocations: 5.062 kB / 0.6778 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.4168, allocations: 162.3 kB / 0.678 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4169, allocations: 60.58 kB / 0.678 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.417, allocations: 7.094 kB / 0.678 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.417, allocations: 18.36 kB / 0.678 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.4171, allocations: 17.73 kB / 0.6781 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4171, allocations: 4 kB / 0.6781 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.4175, allocations: 203.2 kB / 0.6783 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.4175, allocations: 4.594 kB / 0.6783 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.4176, allocations: 24.64 kB / 0.6783 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.4179, allocations: 199.4 kB / 0.6785 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4179, allocations: 0 / 0.6785 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4179, allocations: 0 / 0.6785 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4179, allocations: 4 kB / 0.6785 GB, free: 15.37 MB / 0.5137 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.0005147/0.4184, allocations: 438.1 kB / 0.6789 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4185, allocations: 9.312 kB / 0.6789 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.4185, allocations: 11.36 kB / 0.6789 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4187, allocations: 163 kB / 0.6791 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4187, allocations: 1.625 kB / 0.6791 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4187, allocations: 3.531 kB / 0.6791 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4189, allocations: 82.12 kB / 0.6792 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4189, allocations: 5.312 kB / 0.6792 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4189, allocations: 0 / 0.6792 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4189, allocations: 5.078 kB / 0.6792 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.419, allocations: 48.28 kB / 0.6792 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.4194, allocations: 279.8 kB / 0.6795 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4195, allocations: 56.73 kB / 0.6795 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.672e-05/0.4196, allocations: 50.56 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.4197, allocations: 0 / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.4197, allocations: 31.69 kB / 0.6796 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4197, allocations: 1.125 kB / 0.6796 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000384/0.4201, allocations: 184.4 kB / 0.6798 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4201, allocations: 79.3 kB / 0.6799 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.4202, allocations: 130.6 kB / 0.68 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4203, allocations: 30.8 kB / 0.68 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.4203, allocations: 98.09 kB / 0.6801 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.4203, allocations: 6.922 kB / 0.6801 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.4204, allocations: 23.5 kB / 0.6801 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.4205, allocations: 320.6 kB / 0.6804 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4206, allocations: 60.59 kB / 0.6805 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4207, allocations: 52.41 kB / 0.6806 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.421, allocations: 205.5 kB / 0.6807 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.421, allocations: 1.188 kB / 0.6807 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002831/0.4213, allocations: 220 kB / 0.681 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.4213, allocations: 60.56 kB / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4213, allocations: 0 / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4214, allocations: 1.219 kB / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.4214, allocations: 6.203 kB / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4214, allocations: 1.156 kB / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.4215, allocations: 4.562 kB / 0.681 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4215, allocations: 5.688 kB / 0.681 GB, free: 12.98 MB / 0.5137 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.0001041/0.4216, allocations: 151.2 kB / 0.6812 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4216, allocations: 6.984 kB / 0.6812 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.4217, allocations: 10.12 kB / 0.6812 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4217, allocations: 0 / 0.6812 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4217, allocations: 1.188 kB / 0.6812 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4217, allocations: 4 kB / 0.6812 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4219, allocations: 178.7 kB / 0.6814 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4219, allocations: 4 kB / 0.6814 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.4219, allocations: 11.52 kB / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4219, allocations: 0 / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4219, allocations: 1.281 kB / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4219, allocations: 1.188 kB / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4219, allocations: 0 / 0.6814 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.4222, allocations: 243.6 kB / 0.6816 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.4223, allocations: 82.22 kB / 0.6817 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4223, allocations: 10.53 kB / 0.6817 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.4224, allocations: 7.547 kB / 0.6817 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4225, allocations: 2.406 kB / 0.6817 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4225, allocations: 2.375 kB / 0.6817 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.4226, allocations: 106.5 kB / 0.6818 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4226, allocations: 0 / 0.6818 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000323/0.4229, allocations: 60.55 kB / 0.6819 GB, free: 12.17 MB / 0.5137 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.0002526/0.4232, allocations: 156.9 kB / 0.682 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.4235, allocations: 235.8 kB / 0.6823 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4235, allocations: 1.281 kB / 0.6823 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4236, allocations: 102.1 kB / 0.6824 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.4238, allocations: 7.641 kB / 0.6824 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.4242, allocations: 183.9 kB / 0.6825 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4244, allocations: 0.6861 MB / 0.6832 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.4244, allocations: 5.156 kB / 0.6832 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.4245, allocations: 8.656 kB / 0.6832 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4245, allocations: 0 / 0.6832 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.004275/0.4287, allocations: 1.778 MB / 0.685 GB, free: 10.05 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)