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.0009435/0.0009435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00093/0.0009301, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.8527/0.8527, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 63.91 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 82.04 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002388/0.1291, allocations: 1.478 MB / 0.5952 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1303, allocations: 0.8036 MB / 0.596 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.1303, allocations: 4 kB / 0.596 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.597e-05/0.1304, allocations: 0 / 0.596 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.975e-05/0.1304, allocations: 7.938 kB / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1309, allocations: 131.7 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.131, allocations: 39.91 kB / 0.5961 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.634e-05/0.1311, allocations: 11.94 kB / 0.5962 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.1311, allocations: 15.98 kB / 0.5962 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.1311, allocations: 15.92 kB / 0.5962 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1312, allocations: 4 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.1314, allocations: 187.7 kB / 0.5964 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.1315, allocations: 19.88 kB / 0.5964 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1315, allocations: 15.92 kB / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1318, allocations: 187.6 kB / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1318, allocations: 0 / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1318, allocations: 0 / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.1318, allocations: 0 / 0.5966 GB, free: 7.031 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.0004447/0.1323, allocations: 439 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1323, allocations: 8.031 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.1324, allocations: 34.75 kB / 0.597 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1324, allocations: 4.938 kB / 0.597 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.1325, allocations: 172.2 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1325, allocations: 4.375 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1325, allocations: 4.375 kB / 0.5972 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1327, allocations: 81.72 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1327, allocations: 0 / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1327, allocations: 4 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1328, allocations: 4 kB / 0.5973 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1329, allocations: 43.97 kB / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.1332, allocations: 272.9 kB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1334, allocations: 62.55 kB / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.1334, allocations: 52.84 kB / 0.5977 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.1335, allocations: 4 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1335, allocations: 30.56 kB / 0.5978 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1335, allocations: 0 / 0.5978 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003367/0.1338, allocations: 179.2 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1339, allocations: 89.09 kB / 0.598 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.134, allocations: 121.8 kB / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.134, allocations: 29.73 kB / 0.5982 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.134, allocations: 96.11 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1341, allocations: 11.75 kB / 0.5983 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1341, allocations: 21.72 kB / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.1342, allocations: 322.8 kB / 0.5986 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.1343, allocations: 59.91 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.1344, allocations: 59.95 kB / 0.5987 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1346, allocations: 193.9 kB / 0.5989 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1346, allocations: 0 / 0.5989 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002694/0.1349, allocations: 213 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.1349, allocations: 67.34 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1349, allocations: 3.984 kB / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.135, allocations: 0 / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.135, allocations: 4 kB / 0.5992 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.135, allocations: 0 / 0.5992 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1351, allocations: 4 kB / 0.5992 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1351, allocations: 11.94 kB / 0.5992 GB, free: 4.078 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.638e-05/0.1352, allocations: 151.5 kB / 0.5993 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1352, allocations: 7.906 kB / 0.5993 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.1352, allocations: 3.906 kB / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1352, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1352, allocations: 3.984 kB / 0.5993 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1353, allocations: 240 / 0.5993 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1354, allocations: 173.7 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1355, allocations: 7.984 kB / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.1355, allocations: 7.984 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1355, allocations: 4 kB / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1355, allocations: 0 / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1355, allocations: 0 / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1355, allocations: 0 / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1358, allocations: 253 kB / 0.5998 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.1358, allocations: 77.11 kB / 0.5998 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1358, allocations: 3.984 kB / 0.5998 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.1359, allocations: 15.91 kB / 0.5999 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.136, allocations: 11.98 kB / 0.5999 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.136, allocations: 4 kB / 0.5999 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.1361, allocations: 91.27 kB / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1361, allocations: 0 / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002861/0.1363, allocations: 60 kB / 0.6 GB, free: 3.105 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.0005992/0.137, allocations: 0.835 MB / 0.6008 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.1373, allocations: 242.7 kB / 0.6011 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1373, allocations: 0 / 0.6011 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1374, allocations: 99.38 kB / 0.6012 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1376, allocations: 8 kB / 0.6012 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1392, allocations: 1.758 MB / 0.6029 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1859/0.3251, allocations: 0.6827 MB / 0.6035 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.3251, allocations: 1.875 kB / 0.6035 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.3251, allocations: 15.41 kB / 0.6036 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.3251, allocations: 0 / 0.6036 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/0.5038, allocations: 2.612 MB / 0.6061 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001188/0.504, allocations: 244.2 kB / 0.6063 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.056, allocations: 2.531 kB / 0.6063 GB, free: 43.19 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)