Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0007986/0.0007986, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007919/0.0007919, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9087/0.9087, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5824/0.5824, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.62e-05, allocations: 5.781 kB / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001658/0.001675, allocations: 1.431 MB / 0.5557 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.004458, allocations: 2.637 MB / 0.5583 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.004484, allocations: 0 / 0.5583 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.004505, allocations: 7.922 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.004552, allocations: 19.8 kB / 0.5583 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.00681, allocations: 1.611 MB / 0.5599 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.006872, allocations: 35.69 kB / 0.5599 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.006907, allocations: 3.984 kB / 0.5599 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.006943, allocations: 27.91 kB / 0.5599 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.006962, allocations: 8 kB / 0.5599 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.006974, allocations: 3.938 kB / 0.5599 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.008257, allocations: 1.462 MB / 0.5614 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.008269, allocations: 4 kB / 0.5614 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.00829, allocations: 11.94 kB / 0.5614 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.009253, allocations: 1.239 MB / 0.5626 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.009254, allocations: 0 / 0.5626 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009255, allocations: 0 / 0.5626 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.00926, allocations: 4 kB / 0.5626 GB, free: 10.18 MB / 0.5261 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.0004166/0.009677, allocations: 468 kB / 0.563 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.00972, allocations: 12.62 kB / 0.563 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.009764, allocations: 110 kB / 0.5632 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.009815, allocations: 88.17 kB / 0.5632 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.009918, allocations: 191.3 kB / 0.5634 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.009959, allocations: 154.9 kB / 0.5636 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.009999, allocations: 154.7 kB / 0.5637 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.871e-05/0.01006, allocations: 108.9 kB / 0.5638 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.01008, allocations: 75.28 kB / 0.5639 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.01012, allocations: 150.6 kB / 0.564 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.01015, allocations: 150.6 kB / 0.5642 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.0102, allocations: 154.6 kB / 0.5643 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.0104, allocations: 433 kB / 0.5647 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.01048, allocations: 181.1 kB / 0.5649 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.0105, allocations: 84.08 kB / 0.565 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.01053, allocations: 79.28 kB / 0.5651 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.01056, allocations: 105.8 kB / 0.5652 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.01056, allocations: 0 / 0.5652 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.354e-05/0.01063, allocations: 37.64 kB / 0.5652 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.01068, allocations: 130.7 kB / 0.5653 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.0108, allocations: 133.8 kB / 0.5655 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01081, allocations: 29.64 kB / 0.5655 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01094, allocations: 88.14 kB / 0.5656 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.01094, allocations: 7.938 kB / 0.5656 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.01097, allocations: 17.72 kB / 0.5656 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.01105, allocations: 318.8 kB / 0.5659 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.01107, allocations: 4 kB / 0.5659 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.01108, allocations: 4 kB / 0.5659 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.01112, allocations: 8.859 kB / 0.5659 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01112, allocations: 4 kB / 0.5659 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.01123, allocations: 53.58 kB / 0.566 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.01124, allocations: 4 kB / 0.566 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.01126, allocations: 4 kB / 0.566 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01127, allocations: 64 / 0.566 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.01127, allocations: 11.88 kB / 0.566 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01128, allocations: 0 / 0.566 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.01129, allocations: 0 / 0.566 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.0113, allocations: 4 kB / 0.566 GB, free: 6.484 MB / 0.5261 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 6.977e-05/0.01137, allocations: 181.1 kB / 0.5662 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.0114, allocations: 120.9 kB / 0.5663 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.01144, allocations: 108.8 kB / 0.5664 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-05/0.01148, allocations: 180.2 kB / 0.5666 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-05/0.01152, allocations: 176.3 kB / 0.5667 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/0.01156, allocations: 188.2 kB / 0.5669 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.0117, allocations: 392.2 kB / 0.5673 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.01172, allocations: 101 kB / 0.5674 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.01174, allocations: 104.9 kB / 0.5675 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.794e-05/0.01178, allocations: 176.3 kB / 0.5676 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.01182, allocations: 188.2 kB / 0.5678 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-05/0.01185, allocations: 180.3 kB / 0.568 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.793e-05/0.01189, allocations: 184.2 kB / 0.5682 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/0.01198, allocations: 303.8 kB / 0.5685 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.01201, allocations: 116.9 kB / 0.5686 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.01206, allocations: 184.3 kB / 0.5687 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.01211, allocations: 113.2 kB / 0.5688 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.01215, allocations: 176.3 kB / 0.569 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.01217, allocations: 101 kB / 0.5691 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.01221, allocations: 101.8 kB / 0.5692 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01221, allocations: 0 / 0.5692 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004087/0.01262, allocations: 298.9 kB / 0.5695 GB, free: 2.691 MB / 0.5261 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.0008929/0.01351, allocations: 1.22 MB / 0.5707 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.01359, allocations: 37.7 kB / 0.5707 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01359, allocations: 0 / 0.5707 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01359, allocations: 0 / 0.5707 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01387, allocations: 471.5 kB / 0.5712 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.01501, allocations: 1.572 MB / 0.5727 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.01505, allocations: 63.34 kB / 0.5728 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.221e-05/0.01506, allocations: 8.094 kB / 0.5728 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.01509, allocations: 16.48 kB / 0.5728 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.01509, allocations: 0 / 0.5728 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.03443, allocations: 7.813 MB / 0.5804 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.021, allocations: 7.922 kB / 0.5804 GB, free: 7.602 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.550024420022964] Failed to read output from testmodel.py, exit status != 0: 7.103354461491108 7.111587023 7.100606691 Calling exit ...