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.InternalResistancesOneUTube.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.000884/0.000884, allocations: 76.55 kB / 19.93 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.0008764/0.0008764, allocations: 177.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.9023/0.9023, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5574/0.5574, 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.5543 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.626e-05, allocations: 4.531 kB / 0.5543 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002005/0.002031, allocations: 1.414 MB / 0.5557 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.004964, allocations: 2.645 MB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.005004, allocations: 4 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.005027, allocations: 7.922 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.005078, allocations: 11.81 kB / 0.5583 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.00764, allocations: 1.62 MB / 0.5599 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.551e-05/0.007715, allocations: 35.75 kB / 0.5599 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.007754, allocations: 11.98 kB / 0.5599 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.00779, allocations: 19.92 kB / 0.5599 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.097e-05/0.007811, allocations: 11.98 kB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.007823, allocations: 4 kB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.009277, allocations: 1.45 MB / 0.5614 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.009289, allocations: 3.984 kB / 0.5614 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.009314, allocations: 15.94 kB / 0.5614 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.01058, allocations: 1.239 MB / 0.5626 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01058, allocations: 0 / 0.5626 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.01058, allocations: 4 kB / 0.5626 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.01059, allocations: 0 / 0.5626 GB, free: 10.17 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.0005637/0.01115, allocations: 476 kB / 0.563 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.01121, allocations: 8.625 kB / 0.5631 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.01126, allocations: 106 kB / 0.5632 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.01132, allocations: 84.17 kB / 0.5632 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.01144, allocations: 195.3 kB / 0.5634 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.0115, allocations: 150.9 kB / 0.5636 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01155, allocations: 158.7 kB / 0.5637 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.49e-05/0.01162, allocations: 104.9 kB / 0.5638 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.01164, allocations: 75.28 kB / 0.5639 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.01169, allocations: 158.6 kB / 0.564 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.01173, allocations: 154.6 kB / 0.5642 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.01178, allocations: 150.6 kB / 0.5643 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.01203, allocations: 433 kB / 0.5647 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.01211, allocations: 177.1 kB / 0.5649 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.01214, allocations: 92.08 kB / 0.565 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.01217, allocations: 75.28 kB / 0.5651 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.01221, allocations: 105.8 kB / 0.5652 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.01221, allocations: 0 / 0.5652 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.652e-05/0.01228, allocations: 33.66 kB / 0.5652 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.01233, allocations: 134.7 kB / 0.5653 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.01246, allocations: 133.7 kB / 0.5655 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01247, allocations: 29.7 kB / 0.5655 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.01252, allocations: 88.14 kB / 0.5656 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.01252, allocations: 3.938 kB / 0.5656 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.01255, allocations: 17.72 kB / 0.5656 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.01264, allocations: 322.8 kB / 0.5659 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.01266, allocations: 4 kB / 0.5659 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.01268, allocations: 4 kB / 0.5659 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.01272, allocations: 12.86 kB / 0.5659 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01272, allocations: 0 / 0.5659 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.01284, allocations: 57.61 kB / 0.566 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01285, allocations: 8 kB / 0.566 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.01287, allocations: 0 / 0.566 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01288, allocations: 0 / 0.566 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.01288, allocations: 0 / 0.566 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01289, allocations: 4 kB / 0.566 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.01291, allocations: 0 / 0.566 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.01291, allocations: 3.938 kB / 0.566 GB, free: 6.477 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 9.018e-05/0.013, allocations: 189.1 kB / 0.5662 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.01305, allocations: 108.9 kB / 0.5663 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.0131, allocations: 116.8 kB / 0.5664 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.134e-05/0.01315, allocations: 180.2 kB / 0.5666 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/0.0132, allocations: 180.3 kB / 0.5667 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-05/0.01325, allocations: 184.2 kB / 0.5669 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.01341, allocations: 388.2 kB / 0.5673 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.01344, allocations: 101 kB / 0.5674 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.01347, allocations: 104.9 kB / 0.5675 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.857e-05/0.01351, allocations: 180.3 kB / 0.5676 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.01357, allocations: 184.2 kB / 0.5678 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.63e-05/0.01361, allocations: 176.3 kB / 0.568 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.952e-05/0.01366, allocations: 184.3 kB / 0.5682 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.01378, allocations: 311.7 kB / 0.5685 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.01381, allocations: 116.9 kB / 0.5686 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.01388, allocations: 180.3 kB / 0.5687 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.01393, allocations: 109.3 kB / 0.5688 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.01399, allocations: 180.2 kB / 0.569 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.01402, allocations: 112.9 kB / 0.5691 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.01406, allocations: 97.61 kB / 0.5692 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01406, allocations: 0 / 0.5692 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000486/0.01455, allocations: 295 kB / 0.5695 GB, free: 2.68 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.001012/0.01556, allocations: 1.212 MB / 0.5707 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.637e-05/0.01564, allocations: 41.64 kB / 0.5707 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.01565, allocations: 0 / 0.5707 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.01565, allocations: 3.938 kB / 0.5707 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01594, allocations: 467.6 kB / 0.5712 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01711, allocations: 1.576 MB / 0.5727 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01716, allocations: 63.39 kB / 0.5728 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.01717, allocations: 11.92 kB / 0.5728 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.0172, allocations: 20.42 kB / 0.5728 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.0172, allocations: 0 / 0.5728 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.0388, allocations: 7.8 MB / 0.5804 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.08, allocations: 13.14 kB / 0.5804 GB, free: 7.586 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.628420010209084] Failed to read output from testmodel.py, exit status != 0: 7.165232718922198 7.178019223 7.164523793 Calling exit ...