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.0009748/0.0009748, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009599/0.0009599, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.16/1.16, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.8451/0.8451, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 63.91 kB / 0.5138 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1189, allocations: 82.03 MB / 0.5939 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001979/0.1209, allocations: 1.492 MB / 0.5954 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000937/0.1219, allocations: 0.7724 MB / 0.5961 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.1219, allocations: 0 / 0.5961 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.122, allocations: 3.938 kB / 0.5961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.122, allocations: 0 / 0.5961 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1225, allocations: 162 kB / 0.5963 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.1226, allocations: 51.86 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.1226, allocations: 11.98 kB / 0.5963 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.1227, allocations: 8 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.1227, allocations: 23.91 kB / 0.5964 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1227, allocations: 8 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.123, allocations: 199.7 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.123, allocations: 7.938 kB / 0.5966 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1231, allocations: 19.92 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1233, allocations: 195.8 kB / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1233, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1233, allocations: 0 / 0.5968 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1233, allocations: 0 / 0.5968 GB, free: 6.797 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.0003693/0.1237, allocations: 434.7 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1237, allocations: 12.62 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1237, allocations: 38.69 kB / 0.5973 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1238, allocations: 4.938 kB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.1239, allocations: 164.3 kB / 0.5974 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1239, allocations: 4.375 kB / 0.5974 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1239, allocations: 384 / 0.5974 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.124, allocations: 81.78 kB / 0.5975 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.124, allocations: 7.938 kB / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1241, allocations: 0 / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1241, allocations: 0 / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.1242, allocations: 47.97 kB / 0.5975 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1245, allocations: 284.8 kB / 0.5978 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.1246, allocations: 54.55 kB / 0.5979 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.1246, allocations: 48.91 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1247, allocations: 0 / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1247, allocations: 38.56 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1247, allocations: 0 / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003096/0.125, allocations: 195.1 kB / 0.5981 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.125, allocations: 77.11 kB / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.1251, allocations: 125.8 kB / 0.5983 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1251, allocations: 25.7 kB / 0.5984 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1252, allocations: 92.06 kB / 0.5984 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1252, allocations: 15.84 kB / 0.5985 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.1252, allocations: 21.72 kB / 0.5985 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.1253, allocations: 322.8 kB / 0.5988 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.1254, allocations: 55.97 kB / 0.5988 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.1255, allocations: 63.95 kB / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1257, allocations: 189.9 kB / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1257, allocations: 0 / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.1259, allocations: 221 kB / 0.5993 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.126, allocations: 63.39 kB / 0.5994 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.126, allocations: 0 / 0.5994 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.126, allocations: 4 kB / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.126, allocations: 0 / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.126, allocations: 0 / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.1261, allocations: 8 kB / 0.5994 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1261, allocations: 4 kB / 0.5994 GB, free: 3.848 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 7.954e-05/0.1262, allocations: 155.5 kB / 0.5995 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1262, allocations: 7.906 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.1262, allocations: 3.906 kB / 0.5995 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1262, allocations: 3.984 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1263, allocations: 4 kB / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1263, allocations: 0 / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1264, allocations: 173.6 kB / 0.5997 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1264, allocations: 0 / 0.5997 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.1264, allocations: 4 kB / 0.5997 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1264, allocations: 0 / 0.5997 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1264, allocations: 0 / 0.5997 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1265, allocations: 4 kB / 0.5997 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1265, allocations: 3.938 kB / 0.5997 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.1267, allocations: 257 kB / 0.6 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.1267, allocations: 77.11 kB / 0.6 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1267, allocations: 15.98 kB / 0.6001 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.1268, allocations: 4 kB / 0.6001 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.1269, allocations: 8.016 kB / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1269, allocations: 4 kB / 0.6001 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.1269, allocations: 99.27 kB / 0.6002 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1269, allocations: 0 / 0.6002 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002575/0.1272, allocations: 52 kB / 0.6002 GB, free: 2.875 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.0005292/0.1277, allocations: 0.835 MB / 0.601 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.128, allocations: 242.7 kB / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.128, allocations: 0 / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.1281, allocations: 103.4 kB / 0.6014 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.1283, allocations: 3.938 kB / 0.6014 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/0.3199, allocations: 1.755 MB / 0.6031 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.32, allocations: 0.6886 MB / 0.6037 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.32, allocations: 0.5156 kB / 0.6037 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3201, allocations: 14.73 kB / 0.6038 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.3201, allocations: 0 / 0.6038 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.596/3.916, allocations: 2.673 MB / 0.6064 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/3.917, allocations: 256 kB / 0.6066 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/5.572, allocations: 1.125 kB / 0.6066 GB, free: 42.43 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)