Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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.001305/0.001305, allocations: 106.4 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.001221/0.001221, 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.339/1.339, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 75.86 kB / 1.056 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7433, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002893/0.7462, allocations: 1.445 MB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004697/0.7509, allocations: 2.928 MB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.7509, allocations: 0 / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.751, allocations: 3.938 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.751, allocations: 18.5 kB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.7553, allocations: 1.594 MB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.7554, allocations: 38.16 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.7554, allocations: 6.328 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.7554, allocations: 16.62 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.7555, allocations: 15.22 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.7555, allocations: 1.344 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.7579, allocations: 1.579 MB / 1.22 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.7579, allocations: 5.156 kB / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.758, allocations: 20.09 kB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.7594, allocations: 1.122 MB / 1.222 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7594, allocations: 0.9688 kB / 1.222 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7594, allocations: 0 / 1.222 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.7594, allocations: 0 / 1.222 GB, free: 13.73 MB / 0.9356 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.0006334/0.7601, allocations: 0.54 MB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7601, allocations: 9.719 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.7602, allocations: 110 kB / 1.222 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.7602, allocations: 83.2 kB / 1.222 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.7604, allocations: 248.1 kB / 1.223 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.7605, allocations: 154.9 kB / 1.223 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.7605, allocations: 156.2 kB / 1.223 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.7606, allocations: 108.9 kB / 1.223 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.7606, allocations: 75.28 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.7607, allocations: 151.8 kB / 1.223 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.7608, allocations: 154.6 kB / 1.223 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.7608, allocations: 151.8 kB / 1.223 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.7611, allocations: 464.8 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.7612, allocations: 170.4 kB / 1.224 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.7612, allocations: 85.45 kB / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.7613, allocations: 79.22 kB / 1.224 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.7613, allocations: 110.9 kB / 1.224 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.7613, allocations: 0 / 1.224 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.14e-05/0.7614, allocations: 31.97 kB / 1.224 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.7615, allocations: 127.9 kB / 1.224 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.7616, allocations: 141.7 kB / 1.225 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.7616, allocations: 25.7 kB / 1.225 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.7617, allocations: 90.25 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.7617, allocations: 1.156 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.7617, allocations: 19.31 kB / 1.225 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7618, allocations: 320.4 kB / 1.225 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.7619, allocations: 6.906 kB / 1.225 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.7619, allocations: 3.812 kB / 1.225 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.7619, allocations: 18.3 kB / 1.225 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7619, allocations: 0 / 1.225 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001179/0.762, allocations: 52.47 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.762, allocations: 6.094 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.7621, allocations: 2.344 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7621, allocations: 1.562 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.7621, allocations: 4 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.7621, allocations: 0 / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.7621, allocations: 9.453 kB / 1.225 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.7621, allocations: 5.312 kB / 1.225 GB, free: 10 MB / 0.9356 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 9.944e-05/0.7622, allocations: 190.2 kB / 1.225 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.7623, allocations: 119.6 kB / 1.225 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.7623, allocations: 111.4 kB / 1.226 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.7624, allocations: 181.3 kB / 1.226 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-05/0.7625, allocations: 181.3 kB / 1.226 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-05/0.7625, allocations: 189.3 kB / 1.226 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.7628, allocations: 415.7 kB / 1.226 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/0.7628, allocations: 102 kB / 1.227 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.7629, allocations: 106 kB / 1.227 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-05/0.7629, allocations: 181.5 kB / 1.227 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.763, allocations: 184.2 kB / 1.227 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.906e-05/0.7631, allocations: 181.6 kB / 1.227 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-05/0.7632, allocations: 177.7 kB / 1.227 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.7633, allocations: 308.1 kB / 1.228 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.7634, allocations: 192.3 kB / 1.228 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.7635, allocations: 181.4 kB / 1.228 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.7636, allocations: 102.1 kB / 1.228 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.7636, allocations: 181.6 kB / 1.228 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.7637, allocations: 110.3 kB / 1.228 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.539e-05/0.7637, allocations: 102.1 kB / 1.228 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7637, allocations: 0 / 1.228 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007542/0.7645, allocations: 287.2 kB / 1.229 GB, free: 6.316 MB / 0.9356 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.00127/0.7658, allocations: 1.2 MB / 1.23 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.127e-05/0.7659, allocations: 33.55 kB / 1.23 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7659, allocations: 0 / 1.23 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.7659, allocations: 1.438 kB / 1.23 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.7663, allocations: 466.7 kB / 1.23 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.7677, allocations: 1.604 MB / 1.232 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.768, allocations: 0.686 MB / 1.233 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.768, allocations: 0 / 1.233 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.7681, allocations: 16.78 kB / 1.233 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.7681, allocations: 1.406 kB / 1.233 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.7989, allocations: 7.125 MB / 1.24 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.971, allocations: 15.61 kB / 1.24 GB, free: 12.54 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.071061251685023] Failed to read output from testmodel.py, exit status != 0: 9.041550087276846 9.056722391 8.294001692 Calling exit ...