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.005934/0.005934, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.00111/0.00111, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.9527/0.9527, allocations: 143 MB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.5955 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 82.03 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002016/0.3517, allocations: 1.411 MB / 0.677 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3528, allocations: 0.7888 MB / 0.6778 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.3529, allocations: 0 / 0.6778 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.574e-05/0.3529, allocations: 9.047 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.353, allocations: 1.094 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.3536, allocations: 173.7 kB / 0.678 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3537, allocations: 52.31 kB / 0.678 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.3538, allocations: 11.58 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.3538, allocations: 14.61 kB / 0.678 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.3539, allocations: 21.2 kB / 0.6781 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3539, allocations: 7.344 kB / 0.6781 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.3542, allocations: 200.5 kB / 0.6783 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.3543, allocations: 8.078 kB / 0.6783 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3543, allocations: 24.36 kB / 0.6783 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3546, allocations: 198 kB / 0.6785 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3546, allocations: 0 / 0.6785 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3546, allocations: 0 / 0.6785 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3546, allocations: 0 / 0.6785 GB, free: 15.33 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.0004509/0.355, allocations: 431.7 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.3551, allocations: 9.719 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3551, allocations: 8.125 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3552, allocations: 174.3 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3552, allocations: 2.469 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3553, allocations: 2.625 kB / 0.6791 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3554, allocations: 77.89 kB / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3555, allocations: 5.109 kB / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3555, allocations: 1.125 kB / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3555, allocations: 0 / 0.6792 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3556, allocations: 48.59 kB / 0.6792 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.3559, allocations: 279.6 kB / 0.6795 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3561, allocations: 53.14 kB / 0.6795 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.3562, allocations: 46.36 kB / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3562, allocations: 0 / 0.6796 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3562, allocations: 39.62 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3562, allocations: 1.031 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000356/0.3566, allocations: 188.9 kB / 0.6798 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3566, allocations: 78.33 kB / 0.6799 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.3567, allocations: 130.9 kB / 0.68 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3567, allocations: 26.83 kB / 0.68 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.3568, allocations: 90.95 kB / 0.6801 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.3568, allocations: 4.938 kB / 0.6801 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3569, allocations: 29.23 kB / 0.6801 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.3569, allocations: 317.1 kB / 0.6804 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.357, allocations: 60.52 kB / 0.6805 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.3571, allocations: 55.94 kB / 0.6805 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3574, allocations: 201.9 kB / 0.6807 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3574, allocations: 0 / 0.6807 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002663/0.3577, allocations: 221.4 kB / 0.6809 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.3577, allocations: 68.05 kB / 0.681 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3577, allocations: 3.938 kB / 0.681 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3577, allocations: 1.469 kB / 0.681 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.3578, allocations: 2.906 kB / 0.681 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3578, allocations: 0 / 0.681 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.3579, allocations: 16.22 kB / 0.681 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3579, allocations: 2.938 kB / 0.681 GB, free: 12.95 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 8.806e-05/0.358, allocations: 150.5 kB / 0.6812 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.358, allocations: 11.72 kB / 0.6812 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.358, allocations: 9.375 kB / 0.6812 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.358, allocations: 0 / 0.6812 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3581, allocations: 0 / 0.6812 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3581, allocations: 5.438 kB / 0.6812 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3582, allocations: 178.2 kB / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3582, allocations: 0 / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.3583, allocations: 3.75 kB / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3583, allocations: 0 / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3583, allocations: 5.172 kB / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3583, allocations: 1.188 kB / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3583, allocations: 4 kB / 0.6814 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3586, allocations: 242.6 kB / 0.6816 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.3586, allocations: 83.48 kB / 0.6817 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3586, allocations: 1 kB / 0.6817 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.3587, allocations: 12.05 kB / 0.6817 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.3588, allocations: 3.688 kB / 0.6817 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.3588, allocations: 1.312 kB / 0.6817 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.3588, allocations: 102.7 kB / 0.6818 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3589, allocations: 0 / 0.6818 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003087/0.3592, allocations: 60.39 kB / 0.6819 GB, free: 12.14 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.0002404/0.3594, allocations: 148.8 kB / 0.682 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.3597, allocations: 240 kB / 0.6822 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3597, allocations: 0 / 0.6822 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3599, allocations: 107.5 kB / 0.6823 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3601, allocations: 9.484 kB / 0.6824 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.3604, allocations: 167.9 kB / 0.6825 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3606, allocations: 0.6899 MB / 0.6832 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.3606, allocations: 0 / 0.6832 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3607, allocations: 13.66 kB / 0.6832 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.3607, allocations: 0 / 0.6832 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.003849/0.3645, allocations: 1.785 MB / 0.6849 GB, free: 10.02 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)