Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001739/0.001739, allocations: 108.5 kB / 16.45 MB, free: 6.035 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.001994/0.001994, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.104 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7415, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002888/0.7443, allocations: 1.444 MB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004728/0.7491, allocations: 2.917 MB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.7491, allocations: 4 kB / 1.273 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.7491, allocations: 7.922 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.7492, allocations: 11.86 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.7535, allocations: 1.594 MB / 1.275 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.7537, allocations: 39.73 kB / 1.275 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.7537, allocations: 4 kB / 1.275 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.7537, allocations: 23.91 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.7538, allocations: 15.88 kB / 1.275 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.7538, allocations: 4 kB / 1.275 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.7564, allocations: 1.576 MB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.7564, allocations: 4 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.7564, allocations: 15.88 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.7582, allocations: 1.126 MB / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7582, allocations: 0 / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7582, allocations: 0 / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7582, allocations: 0 / 1.277 GB, free: 12.36 MB / 0.9825 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.0006996/0.7589, allocations: 0.5324 MB / 1.278 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7589, allocations: 8.031 kB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.681e-05/0.759, allocations: 114 kB / 1.278 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.7591, allocations: 80.17 kB / 1.278 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.7593, allocations: 245.7 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.7593, allocations: 154.9 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.7594, allocations: 154.9 kB / 1.279 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.7595, allocations: 112.9 kB / 1.279 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.7595, allocations: 75.28 kB / 1.279 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.7596, allocations: 150.6 kB / 1.279 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.7597, allocations: 150.6 kB / 1.279 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.7597, allocations: 150.6 kB / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.7601, allocations: 473.8 kB / 1.28 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.7602, allocations: 173.1 kB / 1.28 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.7602, allocations: 88.12 kB / 1.28 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.7603, allocations: 83.22 kB / 1.28 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.7603, allocations: 109.8 kB / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.7603, allocations: 0 / 1.28 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.202e-05/0.7604, allocations: 29.7 kB / 1.28 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.7605, allocations: 126.7 kB / 1.28 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.7606, allocations: 137.7 kB / 1.28 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7606, allocations: 25.7 kB / 1.28 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.7607, allocations: 96.11 kB / 1.281 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.7607, allocations: 3.938 kB / 1.281 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.7607, allocations: 25.66 kB / 1.281 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7609, allocations: 322.8 kB / 1.281 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.7609, allocations: 4 kB / 1.281 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.7609, allocations: 32 / 1.281 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.761, allocations: 16.86 kB / 1.281 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.761, allocations: 0 / 1.281 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001399/0.7611, allocations: 57.66 kB / 1.281 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7611, allocations: 9.703 kB / 1.281 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.7611, allocations: 4 kB / 1.281 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7612, allocations: 4.062 kB / 1.281 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.7612, allocations: 0 / 1.281 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7612, allocations: 3.938 kB / 1.281 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.7612, allocations: 3.938 kB / 1.281 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.7612, allocations: 4 kB / 1.281 GB, free: 8.453 MB / 0.9825 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.0001131/0.7613, allocations: 181.7 kB / 1.281 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.7614, allocations: 120.9 kB / 1.281 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.7614, allocations: 112.9 kB / 1.281 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-05/0.7615, allocations: 188.2 kB / 1.282 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.361e-05/0.7616, allocations: 176.3 kB / 1.282 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.7617, allocations: 180.2 kB / 1.282 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.7619, allocations: 421.1 kB / 1.282 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.762, allocations: 101 kB / 1.282 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.762, allocations: 108.9 kB / 1.282 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-05/0.7621, allocations: 180.3 kB / 1.283 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.7622, allocations: 180.2 kB / 1.283 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-05/0.7623, allocations: 180.3 kB / 1.283 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-05/0.7623, allocations: 184.2 kB / 1.283 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.7625, allocations: 315.7 kB / 1.283 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.7626, allocations: 182 kB / 1.284 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.7627, allocations: 180.2 kB / 1.284 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.7628, allocations: 105 kB / 1.284 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.7629, allocations: 184.2 kB / 1.284 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.7629, allocations: 105 kB / 1.284 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.283e-05/0.763, allocations: 103.3 kB / 1.284 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.763, allocations: 0 / 1.284 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008013/0.7638, allocations: 283 kB / 1.285 GB, free: 4.535 MB / 0.9825 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.001425/0.7652, allocations: 1.19 MB / 1.286 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.7653, allocations: 37.69 kB / 1.286 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7653, allocations: 3.938 kB / 1.286 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.7653, allocations: 0 / 1.286 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.7658, allocations: 481 kB / 1.286 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.7673, allocations: 1.605 MB / 1.288 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7676, allocations: 0.6846 MB / 1.288 GB, free: 412 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.7676, allocations: 0 / 1.288 GB, free: 412 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.7677, allocations: 23.47 kB / 1.288 GB, free: 388 kB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.7677, allocations: 0 / 1.288 GB, free: 388 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.8, allocations: 7.098 MB / 1.295 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.962, allocations: 6.75 kB / 1.295 GB, free: 9.492 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.57144086342305] Failed to read output from testmodel.py, exit status != 0: 9.032651077955961 9.046995633 8.285838045 Calling exit ...