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.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.001177/0.001177, 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.001408/0.001408, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9281/0.9281, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.5678/0.5678, allocations: 114 MB / 373.9 MB, free: 8.703 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_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.202e-06/1.202e-06, allocations: 0 / 0.5543 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.322e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001681/0.001694, allocations: 1.431 MB / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.004739, allocations: 2.68 MB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.00478, allocations: 0 / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.004801, allocations: 3.938 kB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.004853, allocations: 19.78 kB / 0.5583 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.007543, allocations: 1.646 MB / 0.5599 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.007617, allocations: 43.67 kB / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.007649, allocations: 7.984 kB / 0.56 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.007683, allocations: 19.92 kB / 0.56 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.007702, allocations: 11.98 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.007712, allocations: 4 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.009179, allocations: 1.497 MB / 0.5615 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.009191, allocations: 0 / 0.5615 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.009214, allocations: 11.94 kB / 0.5615 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.01037, allocations: 1.27 MB / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01037, allocations: 0 / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.21e-07/0.01037, allocations: 0 / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.01038, 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.0004348/0.01081, allocations: 476 kB / 0.5632 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.01085, allocations: 12.62 kB / 0.5632 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.01088, allocations: 106 kB / 0.5633 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.01093, allocations: 88.16 kB / 0.5634 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.01102, allocations: 190.9 kB / 0.5636 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.01106, allocations: 150.9 kB / 0.5637 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.01109, allocations: 158.7 kB / 0.5639 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.661e-05/0.01114, allocations: 104.9 kB / 0.564 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01116, allocations: 79.28 kB / 0.564 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.01119, allocations: 150.6 kB / 0.5642 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.01122, allocations: 154.6 kB / 0.5643 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.01138, allocations: 150.6 kB / 0.5645 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.01157, allocations: 448.9 kB / 0.5649 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.01163, allocations: 173.1 kB / 0.5651 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.01165, allocations: 88.08 kB / 0.5651 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.01167, allocations: 79.22 kB / 0.5652 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.0117, allocations: 105.8 kB / 0.5653 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.0117, allocations: 0 / 0.5653 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 5.221e-05/0.01175, allocations: 33.66 kB / 0.5653 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.01179, allocations: 130.6 kB / 0.5655 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.01189, allocations: 141.7 kB / 0.5656 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.0119, allocations: 25.7 kB / 0.5656 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.01194, allocations: 92.08 kB / 0.5657 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.01194, allocations: 4 kB / 0.5657 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.01196, allocations: 17.72 kB / 0.5657 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.01203, allocations: 318.8 kB / 0.566 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.01205, allocations: 4 kB / 0.566 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.01206, allocations: 4 kB / 0.5661 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.01209, allocations: 16.86 kB / 0.5661 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01209, allocations: 0 / 0.5661 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.963e-05/0.01218, allocations: 53.58 kB / 0.5661 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.01219, allocations: 14.12 kB / 0.5661 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.01221, allocations: 4 kB / 0.5661 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.01222, allocations: 4.062 kB / 0.5661 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.01222, allocations: 0 / 0.5661 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01222, allocations: 0 / 0.5661 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.01224, allocations: 3.953 kB / 0.5661 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.01224, allocations: 0 / 0.5661 GB, free: 6.332 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 5.83e-05/0.0123, allocations: 185.1 kB / 0.5663 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.01234, allocations: 116.9 kB / 0.5664 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.01236, allocations: 108.7 kB / 0.5665 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/0.0124, allocations: 180.3 kB / 0.5667 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.649e-05/0.01244, allocations: 176.3 kB / 0.5669 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-05/0.01248, allocations: 188.2 kB / 0.5671 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.01261, allocations: 388.2 kB / 0.5674 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.01263, allocations: 108.9 kB / 0.5675 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.01265, allocations: 105 kB / 0.5676 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/0.01269, allocations: 176.3 kB / 0.5678 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.01273, allocations: 192.2 kB / 0.568 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-05/0.01277, allocations: 176.3 kB / 0.5681 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.0128, allocations: 184.2 kB / 0.5683 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.01289, allocations: 311.7 kB / 0.5686 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01292, allocations: 120.9 kB / 0.5687 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.01296, allocations: 176.3 kB / 0.5689 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.013, allocations: 109.2 kB / 0.569 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.01305, allocations: 180.3 kB / 0.5692 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.01307, allocations: 105 kB / 0.5693 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.01311, allocations: 107.2 kB / 0.5694 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01311, allocations: 0 / 0.5694 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004535/0.01356, allocations: 295 kB / 0.5697 GB, free: 2.523 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.0008804/0.01444, allocations: 1.233 MB / 0.5709 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.01452, allocations: 41.69 kB / 0.5709 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01452, allocations: 3.938 kB / 0.5709 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.01452, allocations: 3.938 kB / 0.5709 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01477, allocations: 459.7 kB / 0.5714 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.0158, allocations: 1.61 MB / 0.5729 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.01584, allocations: 67.34 kB / 0.573 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.01585, allocations: 0 / 0.573 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.01587, allocations: 12.5 kB / 0.573 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.01587, allocations: 0 / 0.573 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.0345, allocations: 8.021 MB / 0.5808 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.114, allocations: 3.984 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.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.575242827646434] Failed to read output from testmodel.py, exit status != 0: 7.196967821568251 7.208434403 7.196244296 Calling exit ...