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.InternalResistancesOneUTubeNegative.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001696/0.001696, 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.001737/0.001737, allocations: 193.6 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.604/1.604, 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.9941/0.9941, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 82.03 MB / 0.5945 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002824/0.1503, allocations: 1.43 MB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004144/0.1545, allocations: 2.833 MB / 0.5986 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1546, allocations: 4 kB / 0.5986 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1546, allocations: 7.922 kB / 0.5986 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.1547, allocations: 11.86 kB / 0.5987 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.1583, allocations: 1.57 MB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1584, allocations: 35.73 kB / 0.6002 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1584, allocations: 8 kB / 0.6002 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.1585, allocations: 11.94 kB / 0.6002 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.1585, allocations: 15.92 kB / 0.6003 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.1585, allocations: 4 kB / 0.6003 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.1605, allocations: 1.427 MB / 0.6017 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.1605, allocations: 3.938 kB / 0.6017 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1605, allocations: 15.88 kB / 0.6017 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.162, allocations: 1.076 MB / 0.6027 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.162, allocations: 3.938 kB / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.162, allocations: 0 / 0.6027 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.162, allocations: 0 / 0.6027 GB, free: 0.9375 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.0006317/0.1627, allocations: 0.5184 MB / 0.6032 GB, free: 380 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1627, allocations: 12.03 kB / 0.6032 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1628, allocations: 106 kB / 0.6033 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.1628, allocations: 80.22 kB / 0.6034 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2339/0.3967, allocations: 245.5 kB / 0.6037 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3967, allocations: 150.9 kB / 0.6038 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3968, allocations: 153.7 kB / 0.6039 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.022e-05/0.3968, allocations: 105.5 kB / 0.604 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3968, allocations: 75.28 kB / 0.6041 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3969, allocations: 152.8 kB / 0.6043 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.3969, allocations: 152 kB / 0.6044 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.3969, allocations: 159.1 kB / 0.6046 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.3971, allocations: 461.7 kB / 0.605 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.3972, allocations: 169.4 kB / 0.6052 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.3972, allocations: 81.97 kB / 0.6052 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3972, allocations: 82.73 kB / 0.6053 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3972, allocations: 109.4 kB / 0.6054 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.3972, allocations: 1.5 kB / 0.6054 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.744e-05/0.3973, allocations: 33.31 kB / 0.6055 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.3974, allocations: 132.5 kB / 0.6056 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3975, allocations: 132.8 kB / 0.6057 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.3975, allocations: 26.2 kB / 0.6057 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.3975, allocations: 95.31 kB / 0.6058 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3975, allocations: 0.75 kB / 0.6058 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3976, allocations: 16.31 kB / 0.6058 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.3976, allocations: 320.6 kB / 0.6061 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3976, allocations: 2.875 kB / 0.6062 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.3977, allocations: 5.062 kB / 0.6062 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.3977, allocations: 17.83 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3977, allocations: 5.734 kB / 0.6062 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.3978, allocations: 47.67 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3979, allocations: 5.562 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.3979, allocations: 4.375 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3979, allocations: 1.5 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.3979, allocations: 4.5 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3979, allocations: 0 / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.3979, allocations: 8.203 kB / 0.6062 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.398, allocations: 1.438 kB / 0.6062 GB, free: 41.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.398, allocations: 189.2 kB / 0.6064 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.398, allocations: 106.7 kB / 0.6065 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.3981, allocations: 113.3 kB / 0.6066 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.3981, allocations: 183.5 kB / 0.6068 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.3981, allocations: 180.9 kB / 0.607 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.3982, allocations: 183.6 kB / 0.6072 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.3983, allocations: 417.7 kB / 0.6076 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.3983, allocations: 105.1 kB / 0.6077 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.3983, allocations: 103.7 kB / 0.6078 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.3984, allocations: 179.9 kB / 0.6079 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3984, allocations: 179.3 kB / 0.6081 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.3984, allocations: 184.6 kB / 0.6083 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.989e-05/0.3985, allocations: 183.8 kB / 0.6085 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.938e-05/0.3985, allocations: 311.6 kB / 0.6088 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.3986, allocations: 191.6 kB / 0.6089 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3986, allocations: 184.3 kB / 0.6091 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.3986, allocations: 109.3 kB / 0.6092 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.3987, allocations: 182 kB / 0.6094 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3987, allocations: 104.2 kB / 0.6095 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.3987, allocations: 105 kB / 0.6096 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3987, allocations: 0 / 0.6096 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007008/0.3994, allocations: 275.8 kB / 0.6098 GB, free: 37.71 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 (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.0009535/0.4004, allocations: 1.156 MB / 0.611 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.17e-05/0.4005, allocations: 40.59 kB / 0.611 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4005, allocations: 0 / 0.611 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.4005, allocations: 0 / 0.611 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4008, allocations: 470.3 kB / 0.6115 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.4017, allocations: 1.578 MB / 0.613 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.4018, allocations: 0.6851 MB / 0.6137 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.4019, allocations: 2.938 kB / 0.6137 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.4019, allocations: 11.19 kB / 0.6137 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4019, allocations: 0 / 0.6137 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.4232, allocations: 6.931 MB / 0.6205 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.439, allocations: 13 kB / 0.6205 GB, free: 33.7 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)