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.001197/0.001197, 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.001421/0.001421, 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.8924/0.8924, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5763/0.5763, 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.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.553e-06/1.553e-06, allocations: 0 / 0.5543 GB, free: 1.578 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.974e-05, allocations: 3.688 kB / 0.5543 GB, free: 1.574 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00189/0.00191, allocations: 1.428 MB / 0.5557 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.004924, allocations: 2.676 MB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.004974, allocations: 0 / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.004997, allocations: 3.938 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.005057, allocations: 23.78 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.008239, allocations: 1.651 MB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.008334, allocations: 43.62 kB / 0.56 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.008376, allocations: 11.86 kB / 0.56 GB, free: 11.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.008417, allocations: 23.97 kB / 0.56 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.132e-05/0.008439, allocations: 11.94 kB / 0.56 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.008451, allocations: 0 / 0.56 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.01026, allocations: 1.489 MB / 0.5615 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.01028, allocations: 4 kB / 0.5615 GB, free: 10.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.01031, allocations: 15.94 kB / 0.5615 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.01179, allocations: 1.27 MB / 0.5627 GB, free: 8.922 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.0118, allocations: 4 kB / 0.5627 GB, free: 8.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.0118, allocations: 0 / 0.5627 GB, free: 8.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.01181, allocations: 4 kB / 0.5627 GB, free: 8.914 MB / 490.7 MB 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.0005205/0.01233, allocations: 476 kB / 0.5632 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.01237, allocations: 8.625 kB / 0.5632 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.01241, allocations: 106 kB / 0.5633 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.01246, allocations: 84.17 kB / 0.5634 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.01256, allocations: 186.6 kB / 0.5636 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.0126, allocations: 158.9 kB / 0.5637 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.01265, allocations: 162.6 kB / 0.5639 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.851e-05/0.0127, allocations: 101 kB / 0.564 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.01272, allocations: 79.22 kB / 0.564 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.01276, allocations: 150.6 kB / 0.5642 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.01288, allocations: 162.5 kB / 0.5643 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.01292, allocations: 150.6 kB / 0.5645 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.01313, allocations: 437 kB / 0.5649 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.0132, allocations: 173.1 kB / 0.5651 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.01323, allocations: 84.08 kB / 0.5651 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.01325, allocations: 75.28 kB / 0.5652 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.01328, allocations: 109.8 kB / 0.5653 GB, free: 6.125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.01328, allocations: 0 / 0.5653 GB, free: 6.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 6.176e-05/0.01335, allocations: 37.64 kB / 0.5654 GB, free: 6.082 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.01339, allocations: 134.6 kB / 0.5655 GB, free: 5.938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01351, allocations: 134.9 kB / 0.5656 GB, free: 5.797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.01351, allocations: 25.7 kB / 0.5656 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.01356, allocations: 96.12 kB / 0.5657 GB, free: 5.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.01356, allocations: 0 / 0.5657 GB, free: 5.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.01359, allocations: 17.7 kB / 0.5657 GB, free: 5.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.01366, allocations: 314.8 kB / 0.566 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.01368, allocations: 4 kB / 0.566 GB, free: 5.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.0137, allocations: 12 kB / 0.5661 GB, free: 5.312 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.01373, allocations: 16.84 kB / 0.5661 GB, free: 5.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01373, allocations: 0 / 0.5661 GB, free: 5.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001155/0.01385, allocations: 61.53 kB / 0.5661 GB, free: 5.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01386, allocations: 4 kB / 0.5661 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.01388, allocations: 4 kB / 0.5661 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01389, allocations: 0 / 0.5661 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01389, allocations: 0 / 0.5661 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0139, allocations: 3.984 kB / 0.5661 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.01392, allocations: 0 / 0.5661 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01393, allocations: 4 kB / 0.5661 GB, free: 5.211 MB / 490.7 MB 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.91e-05/0.014, allocations: 185.2 kB / 0.5663 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.01405, allocations: 112.9 kB / 0.5664 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.01408, allocations: 112.7 kB / 0.5665 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.01413, allocations: 188.2 kB / 0.5667 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-05/0.01417, allocations: 176.3 kB / 0.5669 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/0.01421, allocations: 184.2 kB / 0.5671 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.01436, allocations: 384.2 kB / 0.5674 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.01438, allocations: 116.9 kB / 0.5675 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.01441, allocations: 105 kB / 0.5676 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/0.01445, allocations: 176.3 kB / 0.5678 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.01449, allocations: 188.2 kB / 0.568 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.159e-05/0.01454, allocations: 176.3 kB / 0.5682 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.186e-05/0.01458, allocations: 184.2 kB / 0.5683 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.01468, allocations: 319.6 kB / 0.5686 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.01471, allocations: 108.9 kB / 0.5687 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.01476, allocations: 176.3 kB / 0.5689 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.01481, allocations: 105.2 kB / 0.569 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01486, allocations: 184.2 kB / 0.5692 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.01488, allocations: 113 kB / 0.5693 GB, free: 1.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.01493, allocations: 97.45 kB / 0.5694 GB, free: 1.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01493, allocations: 8 kB / 0.5694 GB, free: 1.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006204/0.01555, allocations: 291 kB / 0.5697 GB, free: 1.402 MB / 490.7 MB 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.00118/0.01673, allocations: 1.237 MB / 0.5709 GB, free: 144 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.01685, allocations: 37.7 kB / 0.5709 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01685, allocations: 4.062 kB / 0.5709 GB, free: 96 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.01686, allocations: 7.938 kB / 0.5709 GB, free: 88 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.0172, allocations: 459.7 kB / 0.5714 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.01845, allocations: 1.588 MB / 0.5729 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.0185, allocations: 67.34 kB / 0.573 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.01851, allocations: 0 / 0.573 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.01855, allocations: 20.52 kB / 0.573 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/0.01855, allocations: 0 / 0.573 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.04274, allocations: 8.011 MB / 0.5808 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.197, allocations: 1.172 kB / 0.5808 GB, free: 6.082 MB / 0.4948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.72511553671211] Failed to read output from testmodel.py, exit status != 0: 7.283330757170916 7.292499594 7.278914404 Calling exit ...