Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.000767/0.000767, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008205/0.0008205, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8207/0.8207, 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.001373/0.001373, allocations: 236.9 kB / 259.4 MB, free: 13.03 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.6477/0.6477, 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6464 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.204e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001773/0.001795, allocations: 1.442 MB / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2169/0.2187, allocations: 2.673 MB / 0.6504 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.2187, allocations: 0 / 0.6504 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.2187, allocations: 6.859 kB / 0.6504 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.2188, allocations: 20 kB / 0.6504 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.2214, allocations: 1.645 MB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.2215, allocations: 50.91 kB / 0.6521 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.2215, allocations: 5.734 kB / 0.6521 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.2216, allocations: 20.59 kB / 0.6521 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.135e-05/0.2216, allocations: 13.55 kB / 0.6521 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2216, allocations: 2.812 kB / 0.6521 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2231, allocations: 1.482 MB / 0.6536 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.2231, allocations: 5.859 kB / 0.6536 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.2232, allocations: 17.28 kB / 0.6536 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2243, allocations: 1.27 MB / 0.6548 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2243, allocations: 1.719 kB / 0.6548 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2243, allocations: 0 / 0.6548 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2243, allocations: 0 / 0.6548 GB, free: 54.04 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.0003931/0.2247, allocations: 471.3 kB / 0.6553 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2248, allocations: 9.312 kB / 0.6553 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.079e-05/0.2248, allocations: 109.1 kB / 0.6554 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2248, allocations: 83.98 kB / 0.6555 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.449e-05/0.2249, allocations: 197 kB / 0.6557 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2249, allocations: 152.2 kB / 0.6558 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2249, allocations: 152.7 kB / 0.656 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.14e-05/0.2249, allocations: 107.5 kB / 0.6561 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2249, allocations: 75.47 kB / 0.6561 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.225, allocations: 155.1 kB / 0.6563 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.225, allocations: 162 kB / 0.6564 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.359e-05/0.225, allocations: 151.4 kB / 0.6566 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2251, allocations: 433.2 kB / 0.657 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.2251, allocations: 175.3 kB / 0.6572 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.2252, allocations: 80.14 kB / 0.6572 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.2252, allocations: 75.28 kB / 0.6573 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2252, allocations: 110.4 kB / 0.6574 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2252, allocations: 0 / 0.6574 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.078e-05/0.2252, allocations: 37.03 kB / 0.6574 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.2253, allocations: 134 kB / 0.6576 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.2253, allocations: 136 kB / 0.6577 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-06/0.2253, allocations: 25.7 kB / 0.6577 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.2254, allocations: 96.12 kB / 0.6578 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.2254, allocations: 2.156 kB / 0.6578 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.2254, allocations: 18.88 kB / 0.6578 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.2254, allocations: 323.2 kB / 0.6581 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2254, allocations: 2.188 kB / 0.6581 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.2255, allocations: 5.422 kB / 0.6582 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.2255, allocations: 16.5 kB / 0.6582 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2255, allocations: 2.438 kB / 0.6582 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.953e-05/0.2256, allocations: 48.7 kB / 0.6582 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2256, allocations: 13.7 kB / 0.6582 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.2256, allocations: 6.281 kB / 0.6582 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2256, allocations: 0 / 0.6582 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.2256, allocations: 6.188 kB / 0.6582 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2256, allocations: 0.9844 kB / 0.6582 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.2256, allocations: 7.891 kB / 0.6583 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.2256, allocations: 2.219 kB / 0.6583 GB, free: 50.57 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.833e-05/0.2257, allocations: 189.5 kB / 0.6584 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.2257, allocations: 108.3 kB / 0.6585 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.2257, allocations: 115.9 kB / 0.6586 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.2257, allocations: 181.8 kB / 0.6588 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2257, allocations: 183.9 kB / 0.659 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2258, allocations: 186.4 kB / 0.6592 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.534e-05/0.2258, allocations: 379.7 kB / 0.6595 GB, free: 49.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2258, allocations: 107.7 kB / 0.6596 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-06/0.2258, allocations: 104.9 kB / 0.6597 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2259, allocations: 183.3 kB / 0.6599 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2259, allocations: 188.1 kB / 0.6601 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.2259, allocations: 178.8 kB / 0.6603 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.2259, allocations: 180.9 kB / 0.6604 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.114e-05/0.2259, allocations: 305.6 kB / 0.6607 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.2259, allocations: 121.8 kB / 0.6608 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.226, allocations: 187 kB / 0.661 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.226, allocations: 107.6 kB / 0.6611 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.226, allocations: 178.2 kB / 0.6613 GB, free: 47.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.226, allocations: 101 kB / 0.6614 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.2261, allocations: 104 kB / 0.6615 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2261, allocations: 0 / 0.6615 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005196/0.2266, allocations: 296.4 kB / 0.6618 GB, free: 47.07 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.0008443/0.2274, allocations: 1.231 MB / 0.663 GB, free: 46.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.2275, allocations: 36.77 kB / 0.663 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2275, allocations: 0 / 0.663 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.2275, allocations: 3.938 kB / 0.663 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.2277, allocations: 471.2 kB / 0.6635 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.2284, allocations: 1.597 MB / 0.665 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.2285, allocations: 67.83 kB / 0.6651 GB, free: 44.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.2285, allocations: 2.484 kB / 0.6651 GB, free: 44.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.2285, allocations: 15.25 kB / 0.6651 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2285, allocations: 0 / 0.6651 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.2642, allocations: 8.031 MB / 0.6729 GB, free: 42.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/6.872, allocations: 8.297 kB / 0.673 GB, free: 42.88 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.253775077871978] Failed to read output from testmodel.py, exit status != 0: 6.953427076339722 6.961056189 6.734895202 Calling exit ...