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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001458, allocations: 193.1 kB / 16.53 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9958/0.9958, allocations: 143.1 MB / 433.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.88 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002477/0.1396, allocations: 1.416 MB / 0.5958 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1407, allocations: 0.7801 MB / 0.5966 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1408, allocations: 0 / 0.5966 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.1409, allocations: 7.922 kB / 0.5966 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1409, allocations: 4 kB / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.1415, allocations: 163.6 kB / 0.5967 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.1416, allocations: 63.78 kB / 0.5968 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.1417, allocations: 0 / 0.5968 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1417, allocations: 19.97 kB / 0.5968 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.1418, allocations: 15.92 kB / 0.5968 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1418, allocations: 4 kB / 0.5968 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.1421, allocations: 195.7 kB / 0.597 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.1422, allocations: 11.98 kB / 0.597 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.1422, allocations: 27.86 kB / 0.5971 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1425, allocations: 191.8 kB / 0.5972 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1425, allocations: 0 / 0.5972 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1425, allocations: 7.922 kB / 0.5972 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1425, allocations: 0 / 0.5972 GB, free: 6.559 MB / 0.4981 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.0004475/0.143, allocations: 430.7 kB / 0.5977 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.143, allocations: 8.625 kB / 0.5977 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.143, allocations: 30.75 kB / 0.5977 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1431, allocations: 4.938 kB / 0.5977 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1432, allocations: 176.3 kB / 0.5979 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1432, allocations: 4.375 kB / 0.5979 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1432, allocations: 4.375 kB / 0.5979 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1434, allocations: 77.78 kB / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1434, allocations: 0 / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1434, allocations: 0 / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1434, allocations: 4 kB / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1435, allocations: 47.91 kB / 0.598 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1439, allocations: 276.9 kB / 0.5983 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.144, allocations: 62.55 kB / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1442, allocations: 44.91 kB / 0.5984 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.1443, allocations: 4 kB / 0.5984 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.1443, allocations: 30.56 kB / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1443, allocations: 0 / 0.5984 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003629/0.1447, allocations: 191.3 kB / 0.5986 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1447, allocations: 81.11 kB / 0.5987 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.1448, allocations: 125.8 kB / 0.5988 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1449, allocations: 29.64 kB / 0.5988 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.1449, allocations: 92.08 kB / 0.5989 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.1449, allocations: 7.812 kB / 0.5989 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.145, allocations: 25.7 kB / 0.5989 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.1451, allocations: 322.8 kB / 0.5992 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.1452, allocations: 55.97 kB / 0.5993 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.1453, allocations: 63.94 kB / 0.5993 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.1455, allocations: 193.8 kB / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1455, allocations: 0 / 0.5995 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.1458, allocations: 217 kB / 0.5997 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.1458, allocations: 69.89 kB / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1458, allocations: 0 / 0.5998 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1459, allocations: 4 kB / 0.5998 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.1459, allocations: 8.062 kB / 0.5998 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1459, allocations: 0 / 0.5998 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.146, allocations: 7.984 kB / 0.5998 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.146, allocations: 4 kB / 0.5998 GB, free: 3.613 MB / 0.4981 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.624e-05/0.1461, allocations: 147.5 kB / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1461, allocations: 7.906 kB / 0.6 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.1462, allocations: 7.891 kB / 0.6 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1462, allocations: 4 kB / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1462, allocations: 0 / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1462, allocations: 0 / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1463, allocations: 177.6 kB / 0.6002 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1463, allocations: 0 / 0.6002 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.1464, allocations: 3.938 kB / 0.6002 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1464, allocations: 4 kB / 0.6002 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1464, allocations: 0 / 0.6002 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1464, allocations: 0 / 0.6002 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1464, allocations: 3.984 kB / 0.6002 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1467, allocations: 257 kB / 0.6004 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1467, allocations: 81.09 kB / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1467, allocations: 0 / 0.6005 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.1468, allocations: 4 kB / 0.6005 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.1469, allocations: 11.98 kB / 0.6005 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.1469, allocations: 7.938 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.147, allocations: 91.27 kB / 0.6006 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.147, allocations: 4.031 kB / 0.6006 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003086/0.1473, allocations: 60 kB / 0.6007 GB, free: 2.645 MB / 0.4981 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.0007268/0.1481, allocations: 0.835 MB / 0.6015 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1485, allocations: 242.8 kB / 0.6017 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1485, allocations: 0 / 0.6017 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1486, allocations: 103.3 kB / 0.6018 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1488, allocations: 11.94 kB / 0.6018 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2168/0.3656, allocations: 1.74 MB / 0.6035 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3658, allocations: 0.6837 MB / 0.6042 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.3658, allocations: 5.094 kB / 0.6042 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.3659, allocations: 16.41 kB / 0.6042 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.3659, allocations: 0 / 0.6042 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.4771, allocations: 2.803 MB / 0.6069 GB, free: 42.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.542, allocations: 12.81 kB / 0.607 GB, free: 42.35 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)