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.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.0009081/0.0009081, allocations: 80.48 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.0008335/0.0008335, allocations: 169.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.9021/0.9021, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5644/0.5644, allocations: 114 MB / 373.9 MB, free: 8.711 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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_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.963e-06/1.963e-06, allocations: 0 / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.338e-05, allocations: 5.562 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.InternalResistancesTwoUTube): time 0.002642/0.002665, allocations: 1.425 MB / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.005791, allocations: 2.672 MB / 0.5583 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.00584, allocations: 0 / 0.5583 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.005864, allocations: 7.875 kB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.00592, allocations: 11.91 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.009171, allocations: 1.642 MB / 0.5599 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.009295, allocations: 47.67 kB / 0.56 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.009342, allocations: 11.94 kB / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.009385, allocations: 23.91 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.29e-05/0.009408, allocations: 8 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.009424, allocations: 7.938 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.01141, allocations: 1.485 MB / 0.5615 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.01143, allocations: 11.94 kB / 0.5615 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.01147, allocations: 8 kB / 0.5615 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.0132, allocations: 1.27 MB / 0.5627 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.01321, allocations: 4 kB / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/0.01321, allocations: 4 kB / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.01322, allocations: 0 / 0.5627 GB, free: 10.04 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.0007078/0.01393, allocations: 476 kB / 0.5632 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.01398, allocations: 12.62 kB / 0.5632 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.768e-05/0.01404, allocations: 110 kB / 0.5633 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.0141, allocations: 80.17 kB / 0.5634 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.01424, allocations: 189 kB / 0.5636 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.01429, allocations: 150.9 kB / 0.5637 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.01434, allocations: 154.7 kB / 0.5639 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.01441, allocations: 105 kB / 0.564 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.01445, allocations: 75.28 kB / 0.564 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.0145, allocations: 162.5 kB / 0.5642 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.01455, allocations: 154.6 kB / 0.5643 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.0146, allocations: 154.6 kB / 0.5645 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.01487, allocations: 441 kB / 0.5649 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.01495, allocations: 165.1 kB / 0.5651 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.01499, allocations: 84.08 kB / 0.5651 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.01502, allocations: 83.22 kB / 0.5652 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.01506, allocations: 105.8 kB / 0.5653 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.01506, allocations: 0 / 0.5653 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.763e-05/0.01514, allocations: 33.66 kB / 0.5653 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.0152, allocations: 134.7 kB / 0.5655 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01533, allocations: 136.4 kB / 0.5656 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.01535, allocations: 29.7 kB / 0.5656 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.0154, allocations: 88.14 kB / 0.5657 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.0154, allocations: 0 / 0.5657 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.01543, allocations: 21.7 kB / 0.5657 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.01553, allocations: 314.8 kB / 0.566 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.01555, allocations: 4 kB / 0.566 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.01557, allocations: 11.94 kB / 0.5661 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.01561, allocations: 12.84 kB / 0.5661 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01562, allocations: 3.938 kB / 0.5661 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001316/0.01575, allocations: 61.62 kB / 0.5661 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01576, allocations: 4 kB / 0.5661 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.01579, allocations: 4 kB / 0.5661 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.0158, allocations: 0 / 0.5661 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.01581, allocations: 3.938 kB / 0.5661 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01581, allocations: 4 kB / 0.5661 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.01583, allocations: 3.953 kB / 0.5661 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.01584, allocations: 0 / 0.5661 GB, free: 6.336 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 7.929e-05/0.01592, allocations: 189.1 kB / 0.5663 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.01596, allocations: 108.9 kB / 0.5664 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.01599, allocations: 112.8 kB / 0.5665 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.563e-05/0.01604, allocations: 184.2 kB / 0.5667 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-05/0.01609, allocations: 184.2 kB / 0.5669 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/0.01613, allocations: 180.2 kB / 0.5671 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.01629, allocations: 388.2 kB / 0.5674 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/0.01631, allocations: 105 kB / 0.5675 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.01634, allocations: 113 kB / 0.5676 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/0.01638, allocations: 180.2 kB / 0.5678 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.01642, allocations: 176.3 kB / 0.568 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.443e-05/0.01647, allocations: 184.2 kB / 0.5682 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.099e-05/0.01651, allocations: 184.3 kB / 0.5683 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.01661, allocations: 319.6 kB / 0.5686 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.01664, allocations: 108.9 kB / 0.5687 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.0167, allocations: 180.3 kB / 0.5689 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.01674, allocations: 101.3 kB / 0.569 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.01679, allocations: 180.2 kB / 0.5692 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.01682, allocations: 117 kB / 0.5693 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.01686, allocations: 97.14 kB / 0.5694 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01686, allocations: 0 / 0.5694 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000535/0.0174, allocations: 295 kB / 0.5697 GB, free: 2.531 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.0009694/0.01837, allocations: 1.239 MB / 0.5709 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.01845, allocations: 41.69 kB / 0.5709 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01845, allocations: 0 / 0.5709 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01845, allocations: 0 / 0.5709 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.01873, allocations: 463.8 kB / 0.5714 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.01972, allocations: 1.607 MB / 0.5729 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.01976, allocations: 63.34 kB / 0.573 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.01977, allocations: 0 / 0.573 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.01979, allocations: 24.48 kB / 0.573 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.01979, allocations: 0 / 0.573 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.03907, allocations: 8.011 MB / 0.5808 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.158, allocations: 9.141 kB / 0.5808 GB, free: 7.188 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.809178689494729] Failed to read output from testmodel.py, exit status != 0: 7.240281829610467 7.248072001 7.233192257 Calling exit ...