Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002366/0.002366, allocations: 279.9 kB / 303 MB, free: 3.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 180.9 MB / 0.5261 GB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 103.8 kB / 0.7249 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5166, allocations: 94.16 MB / 0.8168 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002375/0.519, allocations: 1.434 MB / 0.8182 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.523, allocations: 2.924 MB / 0.8211 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.523, allocations: 1.594 kB / 0.8211 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.5231, allocations: 7.312 kB / 0.8211 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.5231, allocations: 13.17 kB / 0.8211 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.5271, allocations: 1.591 MB / 0.8226 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.5273, allocations: 45.48 kB / 0.8227 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.5273, allocations: 3.266 kB / 0.8227 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.5273, allocations: 14.16 kB / 0.8227 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.5274, allocations: 13.69 kB / 0.8227 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.5274, allocations: 3.938 kB / 0.8227 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.5299, allocations: 1.574 MB / 0.8242 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.5299, allocations: 15.23 kB / 0.8243 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.5299, allocations: 18.59 kB / 0.8243 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.5318, allocations: 1.115 MB / 0.8254 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5318, allocations: 0 / 0.8254 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5318, allocations: 0.6094 kB / 0.8254 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.5318, allocations: 0 / 0.8254 GB, free: 2.488 MB / 0.5762 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.000708/0.5325, allocations: 0.5331 MB / 0.8259 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5325, allocations: 8.719 kB / 0.8259 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.5326, allocations: 108.2 kB / 0.826 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.5326, allocations: 92.98 kB / 0.8261 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5327, allocations: 249.7 kB / 0.8263 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.5328, allocations: 150.9 kB / 0.8265 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.5328, allocations: 150.9 kB / 0.8266 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.564e-05/0.5328, allocations: 112.3 kB / 0.8267 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5329, allocations: 75.28 kB / 0.8268 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5329, allocations: 154.6 kB / 0.8269 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.5329, allocations: 150.6 kB / 0.8271 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.5329, allocations: 155.2 kB / 0.8272 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.5331, allocations: 466.5 kB / 0.8277 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5333, allocations: 179.7 kB / 0.8278 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.5333, allocations: 84.14 kB / 0.8279 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.5334, allocations: 79.97 kB / 0.828 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.5334, allocations: 105.8 kB / 0.8281 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5334, allocations: 0 / 0.8281 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.867e-05/0.5335, allocations: 32.89 kB / 0.8281 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.5336, allocations: 137.8 kB / 0.8283 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5338, allocations: 132.4 kB / 0.8284 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5338, allocations: 25.7 kB / 0.8284 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.5339, allocations: 100.9 kB / 0.8285 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.5339, allocations: 0 / 0.8285 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.5339, allocations: 16.2 kB / 0.8285 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.534, allocations: 319.6 kB / 0.8288 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.5341, allocations: 7.594 kB / 0.8288 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.5341, allocations: 4 kB / 0.8288 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.5341, allocations: 14.56 kB / 0.8289 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5341, allocations: 0.5156 kB / 0.8289 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001496/0.5343, allocations: 51.38 kB / 0.8289 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5343, allocations: 6.047 kB / 0.8289 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.5343, allocations: 6.891 kB / 0.8289 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5343, allocations: 0 / 0.8289 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.5343, allocations: 0.7031 kB / 0.8289 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5343, allocations: 6.844 kB / 0.8289 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.5344, allocations: 8.016 kB / 0.8289 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.5344, allocations: 0.6562 kB / 0.8289 GB, free: 14.8 MB / 0.5919 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 0.000139/0.5345, allocations: 188.9 kB / 0.8291 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.5346, allocations: 116.7 kB / 0.8292 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.5347, allocations: 109 kB / 0.8293 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-05/0.5347, allocations: 184.9 kB / 0.8295 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/0.5349, allocations: 185 kB / 0.8297 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/0.535, allocations: 184.5 kB / 0.8299 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.5353, allocations: 412.1 kB / 0.8303 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-05/0.5354, allocations: 101 kB / 0.8304 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.5355, allocations: 108 kB / 0.8305 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.792e-05/0.5355, allocations: 188.8 kB / 0.8306 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.5357, allocations: 183.8 kB / 0.8308 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.627e-05/0.5357, allocations: 181.2 kB / 0.831 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.286e-05/0.5358, allocations: 180.9 kB / 0.8312 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.5361, allocations: 308.3 kB / 0.8314 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5362, allocations: 191.1 kB / 0.8316 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5363, allocations: 180.6 kB / 0.8318 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5364, allocations: 105.5 kB / 0.8319 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.5366, allocations: 179.5 kB / 0.8321 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.5366, allocations: 105.9 kB / 0.8322 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.5367, allocations: 104.2 kB / 0.8323 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5367, allocations: 4 kB / 0.8323 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001066/0.5378, allocations: 289.6 kB / 0.8326 GB, free: 11.15 MB / 0.5919 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.001653/0.5394, allocations: 1.185 MB / 0.8337 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.5396, allocations: 39.56 kB / 0.8338 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5396, allocations: 0 / 0.8338 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.5396, allocations: 3.219 kB / 0.8338 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.54, allocations: 468.5 kB / 0.8342 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.5417, allocations: 1.599 MB / 0.8358 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.5421, allocations: 0.6869 MB / 0.8364 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.5421, allocations: 0.8438 kB / 0.8364 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.5421, allocations: 18.53 kB / 0.8365 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5421, allocations: 3.938 kB / 0.8365 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.5796, allocations: 7.133 MB / 0.8434 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.683, allocations: 3.875 kB / 0.8434 GB, free: 6.832 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.330000173766166] Failed to read output from testmodel.py, exit status != 0: 8.757093535736203 8.772641369 8.238094914 Calling exit ...