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.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.001752/0.001752, allocations: 105.3 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.001981/0.001981, allocations: 192.5 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.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.406/2.406, allocations: 443.5 MB / 0.7287 GB, free: 13.27 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_10_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_10_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.0019/0.0019, allocations: 59.91 kB / 1.056 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7131, allocations: 160.7 MB / 1.213 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002543/0.7157, allocations: 1.445 MB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004606/0.7203, allocations: 2.931 MB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.7203, allocations: 0 / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.7204, allocations: 3.938 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.7204, allocations: 17.88 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.725, allocations: 1.591 MB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.7251, allocations: 45.78 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.7251, allocations: 2.625 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.7251, allocations: 17.14 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.7252, allocations: 14.91 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.7252, allocations: 1.219 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.7276, allocations: 1.575 MB / 1.22 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.7276, allocations: 5.094 kB / 1.22 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.7276, allocations: 20.27 kB / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.7291, allocations: 1.126 MB / 1.222 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7291, allocations: 1.094 kB / 1.222 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7291, allocations: 0 / 1.222 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7291, allocations: 0 / 1.222 GB, free: 13.74 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.0006187/0.7297, allocations: 0.531 MB / 1.222 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7298, allocations: 10.47 kB / 1.222 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.7299, allocations: 106 kB / 1.222 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.7299, allocations: 82.89 kB / 1.222 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.7301, allocations: 257 kB / 1.223 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.7302, allocations: 150.9 kB / 1.223 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.7302, allocations: 151.9 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.7303, allocations: 112.8 kB / 1.223 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.7304, allocations: 76.62 kB / 1.223 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.7304, allocations: 150.6 kB / 1.223 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.7305, allocations: 154.6 kB / 1.223 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.7306, allocations: 151.8 kB / 1.223 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.7309, allocations: 465.2 kB / 1.224 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.731, allocations: 174.5 kB / 1.224 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.731, allocations: 84.14 kB / 1.224 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.7311, allocations: 84.55 kB / 1.224 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.7311, allocations: 105.8 kB / 1.224 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.7311, allocations: 1.188 kB / 1.224 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.336e-05/0.7312, allocations: 32.78 kB / 1.224 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.7313, allocations: 126.7 kB / 1.224 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.7314, allocations: 134.9 kB / 1.225 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.7314, allocations: 29.69 kB / 1.225 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.7315, allocations: 91.78 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.7315, allocations: 3.938 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.7315, allocations: 18.91 kB / 1.225 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7317, allocations: 320.1 kB / 1.225 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.7317, allocations: 7.656 kB / 1.225 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.7317, allocations: 3.688 kB / 1.225 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.7317, allocations: 19.17 kB / 1.225 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7317, allocations: 0 / 1.225 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/0.7319, allocations: 51.5 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7319, allocations: 7.906 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7319, allocations: 3.719 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.7319, allocations: 3.938 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.7319, allocations: 1.219 kB / 1.225 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7319, allocations: 7.938 kB / 1.225 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.7319, allocations: 5.453 kB / 1.225 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.7319, allocations: 1 kB / 1.225 GB, free: 10.01 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 0.0001078/0.732, allocations: 192 kB / 1.225 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.7321, allocations: 120.5 kB / 1.225 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.7322, allocations: 110.8 kB / 1.226 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.147e-05/0.7323, allocations: 181.2 kB / 1.226 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-05/0.7323, allocations: 177 kB / 1.226 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.311e-05/0.7324, allocations: 193 kB / 1.226 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.7327, allocations: 412.1 kB / 1.226 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.7327, allocations: 102.1 kB / 1.227 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.7328, allocations: 106 kB / 1.227 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.7329, allocations: 177.4 kB / 1.227 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.7329, allocations: 189.2 kB / 1.227 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.729e-05/0.733, allocations: 181.4 kB / 1.227 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.652e-05/0.7331, allocations: 181.4 kB / 1.227 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.7332, allocations: 304.7 kB / 1.228 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.7333, allocations: 191.3 kB / 1.228 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.781e-05/0.7334, allocations: 181.6 kB / 1.228 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.7335, allocations: 102.3 kB / 1.228 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.7336, allocations: 181.6 kB / 1.228 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.7336, allocations: 106 kB / 1.228 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.7337, allocations: 104.1 kB / 1.228 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7337, allocations: 0 / 1.228 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007526/0.7345, allocations: 289.9 kB / 1.229 GB, free: 6.32 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.00133/0.7358, allocations: 1.187 MB / 1.23 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.7359, allocations: 41.84 kB / 1.23 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7359, allocations: 0 / 1.23 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.7359, allocations: 1.375 kB / 1.23 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.7363, allocations: 467.4 kB / 1.23 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.7378, allocations: 1.61 MB / 1.232 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.7381, allocations: 0.6807 MB / 1.233 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.263e-05/0.7381, allocations: 1.406 kB / 1.233 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.7381, allocations: 16.53 kB / 1.233 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.7381, allocations: 0 / 1.233 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/2.009, allocations: 7.108 MB / 1.24 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/10.14, allocations: 15.55 kB / 1.24 GB, free: 12.55 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.817858704831451] Failed to read output from testmodel.py, exit status != 0: 10.211460468824953 10.237494453 9.503477855 Calling exit ...