Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8697/0.8697, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001437/0.001437, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7225/0.7225, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6464 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.687e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001693/0.001709, allocations: 1.439 MB / 0.6478 GB, free: 344 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2173/0.219, allocations: 2.636 MB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.219, allocations: 0.5 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.2191, allocations: 3.188 kB / 0.6504 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.055e-05/0.2191, allocations: 15.17 kB / 0.6504 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.2213, allocations: 1.618 MB / 0.652 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2214, allocations: 44.92 kB / 0.652 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2214, allocations: 4.75 kB / 0.652 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.2215, allocations: 18.67 kB / 0.652 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.2215, allocations: 14.44 kB / 0.652 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2215, allocations: 3.984 kB / 0.652 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.2229, allocations: 1.453 MB / 0.6535 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.2229, allocations: 6.25 kB / 0.6535 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.223, allocations: 16.14 kB / 0.6535 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.224, allocations: 1.236 MB / 0.6547 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.224, allocations: 0 / 0.6547 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.41e-07/0.224, allocations: 0.5 kB / 0.6547 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.224, allocations: 3.125 kB / 0.6547 GB, free: 53.91 MB / 0.5573 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.000353/0.2244, allocations: 474.3 kB / 0.6551 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2244, allocations: 11.59 kB / 0.6552 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.955e-05/0.2245, allocations: 107.1 kB / 0.6553 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.2245, allocations: 82.8 kB / 0.6553 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.108e-05/0.2245, allocations: 196.9 kB / 0.6555 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2246, allocations: 154.9 kB / 0.6557 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2246, allocations: 153.1 kB / 0.6558 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.094e-05/0.2246, allocations: 103.3 kB / 0.6559 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2246, allocations: 75.47 kB / 0.656 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2246, allocations: 157.6 kB / 0.6561 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2246, allocations: 150.6 kB / 0.6563 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.509e-05/0.2247, allocations: 155.7 kB / 0.6564 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2248, allocations: 435.4 kB / 0.6568 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.2248, allocations: 169.4 kB / 0.657 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.2248, allocations: 80.73 kB / 0.6571 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.2249, allocations: 75.81 kB / 0.6572 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2249, allocations: 115.3 kB / 0.6573 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2249, allocations: 0 / 0.6573 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.12e-05/0.2249, allocations: 41.56 kB / 0.6573 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.2249, allocations: 127.6 kB / 0.6574 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.225, allocations: 130.3 kB / 0.6575 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/0.225, allocations: 25.7 kB / 0.6576 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.2251, allocations: 92.69 kB / 0.6577 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2251, allocations: 0 / 0.6577 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.2251, allocations: 14.92 kB / 0.6577 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.2251, allocations: 320.9 kB / 0.658 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.2251, allocations: 9 kB / 0.658 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.2251, allocations: 10.25 kB / 0.658 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.2252, allocations: 11.22 kB / 0.658 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2252, allocations: 0 / 0.658 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.907e-05/0.2253, allocations: 54.77 kB / 0.6581 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2253, allocations: 8.5 kB / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2253, allocations: 3.5 kB / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2253, allocations: 0 / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.2253, allocations: 3.281 kB / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2253, allocations: 2.531 kB / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.2253, allocations: 6.125 kB / 0.6581 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2253, allocations: 0 / 0.6581 GB, free: 50.46 MB / 0.5573 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 3.925e-05/0.2254, allocations: 186.4 kB / 0.6583 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.2254, allocations: 108 kB / 0.6584 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.2254, allocations: 127.8 kB / 0.6585 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2254, allocations: 177.4 kB / 0.6587 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.2254, allocations: 183 kB / 0.6588 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.2254, allocations: 177.6 kB / 0.659 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.211e-05/0.2255, allocations: 389.2 kB / 0.6594 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2255, allocations: 107.2 kB / 0.6595 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.2255, allocations: 104.9 kB / 0.6596 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.2256, allocations: 185.7 kB / 0.6598 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2256, allocations: 181.3 kB / 0.6599 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.2256, allocations: 182.3 kB / 0.6601 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/0.2256, allocations: 178.6 kB / 0.6603 GB, free: 48.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.187e-05/0.2256, allocations: 312.8 kB / 0.6606 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.2257, allocations: 103.1 kB / 0.6607 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.2257, allocations: 191.1 kB / 0.6608 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.2257, allocations: 104.4 kB / 0.6609 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.2257, allocations: 184.9 kB / 0.6611 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.2257, allocations: 108.1 kB / 0.6612 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.2258, allocations: 97.98 kB / 0.6613 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2258, allocations: 0 / 0.6613 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000421/0.2262, allocations: 288.7 kB / 0.6616 GB, free: 46.96 MB / 0.5573 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.0007728/0.227, allocations: 1.212 MB / 0.6628 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.227, allocations: 45.8 kB / 0.6628 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.227, allocations: 1.875 kB / 0.6628 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.227, allocations: 0 / 0.6628 GB, free: 45.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.2272, allocations: 461.3 kB / 0.6633 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.2279, allocations: 1.579 MB / 0.6648 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.2279, allocations: 67.8 kB / 0.6649 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.019e-05/0.2279, allocations: 5.969 kB / 0.6649 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.228, allocations: 16.72 kB / 0.6649 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.228, allocations: 0 / 0.6649 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2457, allocations: 7.827 MB / 0.6725 GB, free: 42.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.901, allocations: 12.98 kB / 0.6725 GB, free: 42.79 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.412728022783995] Failed to read output from testmodel.py, exit status != 0: 6.981838672421873 6.989740375 6.763791717 Calling exit ...