Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0007184/0.0007184, 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.0007604/0.0007604, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8303/0.8303, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001414/0.001414, allocations: 226.6 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.6491/0.6491, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.202e-05, allocations: 5.375 kB / 0.6464 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002497/0.002519, allocations: 1.439 MB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2113/0.2138, allocations: 2.674 MB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.2139, allocations: 0.875 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2139, allocations: 5.625 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.214, allocations: 19.17 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.2166, allocations: 1.647 MB / 0.652 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.2167, allocations: 51.39 kB / 0.6521 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.2168, allocations: 2.484 kB / 0.6521 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.2168, allocations: 20.02 kB / 0.6521 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.2168, allocations: 15.2 kB / 0.6521 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2168, allocations: 2.125 kB / 0.6521 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.2184, allocations: 1.483 MB / 0.6536 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2184, allocations: 8.266 kB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.2184, allocations: 11.5 kB / 0.6536 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.2196, allocations: 1.272 MB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2196, allocations: 0 / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2196, allocations: 2.594 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2196, allocations: 0 / 0.6548 GB, free: 54.07 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.0004148/0.22, allocations: 479.6 kB / 0.6553 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2201, allocations: 11.31 kB / 0.6553 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.174e-05/0.2201, allocations: 106 kB / 0.6554 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.2201, allocations: 83.39 kB / 0.6555 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.2202, allocations: 192 kB / 0.6557 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2202, allocations: 153.6 kB / 0.6558 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2202, allocations: 153.8 kB / 0.656 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.405e-05/0.2202, allocations: 107.7 kB / 0.6561 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2203, allocations: 75.47 kB / 0.6561 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2203, allocations: 160.4 kB / 0.6563 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2203, allocations: 158.5 kB / 0.6564 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.2203, allocations: 152.4 kB / 0.6566 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.2204, allocations: 432.5 kB / 0.657 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.5e-05/0.2205, allocations: 171.3 kB / 0.6572 GB, free: 51.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.2205, allocations: 80.14 kB / 0.6572 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.2205, allocations: 75.98 kB / 0.6573 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.2205, allocations: 108.1 kB / 0.6574 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2205, allocations: 1 kB / 0.6574 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.154e-05/0.2205, allocations: 38.66 kB / 0.6574 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2206, allocations: 127.3 kB / 0.6576 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2207, allocations: 137.7 kB / 0.6577 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-06/0.2207, allocations: 26.3 kB / 0.6577 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.2207, allocations: 94.73 kB / 0.6578 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.2207, allocations: 3.156 kB / 0.6578 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.2207, allocations: 15.77 kB / 0.6578 GB, free: 51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.2207, allocations: 322.8 kB / 0.6581 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.2208, allocations: 7.703 kB / 0.6581 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.2208, allocations: 6.438 kB / 0.6582 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.2208, allocations: 13.69 kB / 0.6582 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2208, allocations: 0 / 0.6582 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.437e-05/0.2209, allocations: 53.7 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2209, allocations: 13.52 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.2209, allocations: 2.25 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2209, allocations: 0 / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.2209, allocations: 2.219 kB / 0.6582 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2209, allocations: 4.062 kB / 0.6582 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.221, allocations: 10.84 kB / 0.6582 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.221, allocations: 6.094 kB / 0.6583 GB, free: 50.6 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.891e-05/0.221, allocations: 185.9 kB / 0.6584 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.221, allocations: 107.9 kB / 0.6585 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.221, allocations: 115.2 kB / 0.6586 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2211, allocations: 186.7 kB / 0.6588 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.2211, allocations: 179 kB / 0.659 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.2211, allocations: 183.1 kB / 0.6592 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.2212, allocations: 381 kB / 0.6595 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.2212, allocations: 109.7 kB / 0.6596 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.2212, allocations: 111.8 kB / 0.6597 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.2212, allocations: 178.3 kB / 0.6599 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2212, allocations: 185 kB / 0.6601 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.2212, allocations: 179.3 kB / 0.6603 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.2212, allocations: 179.4 kB / 0.6604 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.352e-05/0.2213, allocations: 314.6 kB / 0.6607 GB, free: 47.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.2213, allocations: 115.8 kB / 0.6608 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2213, allocations: 182.9 kB / 0.661 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.2213, allocations: 104 kB / 0.6611 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.2214, allocations: 184.4 kB / 0.6613 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2214, allocations: 109 kB / 0.6614 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2214, allocations: 100.8 kB / 0.6615 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2214, allocations: 0 / 0.6615 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005233/0.2219, allocations: 294.5 kB / 0.6618 GB, free: 47.1 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.0008718/0.2228, allocations: 1.231 MB / 0.663 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.2229, allocations: 45.33 kB / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2229, allocations: 0 / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.2229, allocations: 0 / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2231, allocations: 464.6 kB / 0.6635 GB, free: 45.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.2239, allocations: 1.586 MB / 0.665 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.2239, allocations: 67.42 kB / 0.6651 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.2239, allocations: 7.594 kB / 0.6651 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.2239, allocations: 19.31 kB / 0.6651 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2239, allocations: 0 / 0.6651 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2462, allocations: 8.033 MB / 0.6729 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.835, allocations: 9.641 kB / 0.673 GB, free: 42.92 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.253437313251197] Failed to read output from testmodel.py, exit status != 0: 6.9209652012214065 6.928682538 6.707022153 Calling exit ...