Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001053/0.001053, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001138/0.001138, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.092/1.092, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8 kB / 0.5161 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 83.42 MB / 0.5976 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00173/0.2273, allocations: 1.13 MB / 0.5987 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2316, allocations: 2.622 MB / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.2317, allocations: 0 / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.2317, allocations: 3.938 kB / 0.6013 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.2318, allocations: 11.91 kB / 0.6013 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.235, allocations: 1.223 MB / 0.6025 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.2351, allocations: 39.69 kB / 0.6025 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.2351, allocations: 4 kB / 0.6025 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.2352, allocations: 19.91 kB / 0.6025 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.2352, allocations: 15.94 kB / 0.6026 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2352, allocations: 0 / 0.6026 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.2371, allocations: 1.213 MB / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2371, allocations: 7.938 kB / 0.6037 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.2372, allocations: 29.7 kB / 0.6038 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000962/0.2382, allocations: 0.6904 MB / 0.6045 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2382, allocations: 3.938 kB / 0.6045 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2382, allocations: 0 / 0.6045 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2382, allocations: 0 / 0.6045 GB, free: 0.582 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006451/0.2388, allocations: 0.5029 MB / 0.6049 GB, free: 32 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.2389, allocations: 8.031 kB / 0.605 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5491/0.788, allocations: 108.2 kB / 0.6051 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.36e-05/0.7881, allocations: 83.02 kB / 0.6051 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.7883, allocations: 249.2 kB / 0.6054 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.7883, allocations: 155.1 kB / 0.6055 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.7884, allocations: 151.9 kB / 0.6057 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/0.7885, allocations: 103.8 kB / 0.6058 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.7885, allocations: 76.28 kB / 0.6058 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.7886, allocations: 155.1 kB / 0.606 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.7886, allocations: 153.2 kB / 0.6061 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.7887, allocations: 155.7 kB / 0.6063 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.789, allocations: 467.2 kB / 0.6067 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.7891, allocations: 174.6 kB / 0.6069 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.7891, allocations: 83.33 kB / 0.607 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.7891, allocations: 76.25 kB / 0.607 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.7892, allocations: 109.6 kB / 0.6071 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.7892, allocations: 0.625 kB / 0.6072 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.445e-05/0.7893, allocations: 31.42 kB / 0.6072 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.7893, allocations: 135.8 kB / 0.6073 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.7895, allocations: 131.7 kB / 0.6074 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.7895, allocations: 28.7 kB / 0.6075 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.7896, allocations: 89.2 kB / 0.6075 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.7896, allocations: 0 / 0.6075 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7896, allocations: 0.8438 kB / 0.6075 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.7897, allocations: 318.5 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.7897, allocations: 3.438 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.7898, allocations: 5.188 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.7898, allocations: 7.703 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7898, allocations: 1.719 kB / 0.6079 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.79, allocations: 50.88 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.79, allocations: 6.609 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.79, allocations: 5.5 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.79, allocations: 4.531 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.038e-06/0.79, allocations: 0 / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7901, allocations: 6.984 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.7901, allocations: 1.469 kB / 0.6079 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7901, allocations: 2.406 kB / 0.6079 GB, free: 37.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.7902, allocations: 183.8 kB / 0.6081 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.7902, allocations: 115 kB / 0.6082 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.7903, allocations: 111.5 kB / 0.6083 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/0.7903, allocations: 187 kB / 0.6085 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-05/0.7904, allocations: 179.6 kB / 0.6087 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.7904, allocations: 183.6 kB / 0.6089 GB, free: 36.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.7906, allocations: 409.6 kB / 0.6093 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.7906, allocations: 105.6 kB / 0.6094 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.7907, allocations: 109 kB / 0.6095 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-05/0.7907, allocations: 186.2 kB / 0.6096 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.7908, allocations: 182.8 kB / 0.6098 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-05/0.7908, allocations: 179.4 kB / 0.61 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-05/0.7908, allocations: 188.2 kB / 0.6102 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.918e-05/0.7909, allocations: 306.5 kB / 0.6105 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.791, allocations: 180.5 kB / 0.6106 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.7911, allocations: 188.7 kB / 0.6108 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.7911, allocations: 102.7 kB / 0.6109 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.7912, allocations: 184.5 kB / 0.6111 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.7912, allocations: 104.6 kB / 0.6112 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.7913, allocations: 100 kB / 0.6113 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.102e-06/0.7913, allocations: 0.7812 kB / 0.6113 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00101/0.7923, allocations: 282.3 kB / 0.6115 GB, free: 34.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.7934, allocations: 1.132 MB / 0.6126 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7935, allocations: 35.2 kB / 0.6127 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7935, allocations: 0 / 0.6127 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.7935, allocations: 0.625 kB / 0.6127 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.7939, allocations: 0.5351 MB / 0.6132 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.7948, allocations: 0.6812 MB / 0.6139 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.795, allocations: 0.6879 MB / 0.6145 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.7951, allocations: 0 / 0.6145 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.7951, allocations: 17.28 kB / 0.6146 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.7951, allocations: 0 / 0.6146 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.8166, allocations: 6.678 MB / 0.6211 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.8168, allocations: 284.3 kB / 0.6214 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.933, allocations: 0 / 0.6214 GB, free: 30.94 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: