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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 107.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7588/0.7588, allocations: 122.8 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.4912 GB, free: 7.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3827, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002576/0.3853, allocations: 1.417 MB / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.3892, allocations: 2.899 MB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.3893, allocations: 0 / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.3893, allocations: 1.734 kB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.3894, allocations: 18.09 kB / 0.5716 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.3931, allocations: 1.576 MB / 0.5731 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.3931, allocations: 45.88 kB / 0.5732 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3932, allocations: 4.047 kB / 0.5732 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.3932, allocations: 17.16 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.9e-05/0.3933, allocations: 15.06 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3933, allocations: 1.906 kB / 0.5732 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.3955, allocations: 1.465 MB / 0.5746 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.3955, allocations: 7.688 kB / 0.5746 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.3956, allocations: 20.34 kB / 0.5747 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.3972, allocations: 1.111 MB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3972, allocations: 5.25 kB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3972, allocations: 1.5 kB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3972, allocations: 0 / 0.5757 GB, free: 28.15 MB / 446.1 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.000514/0.3977, allocations: 0.5185 MB / 0.5762 GB, free: 27.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3978, allocations: 11.45 kB / 0.5763 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.3978, allocations: 107.5 kB / 0.5764 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.3979, allocations: 82.59 kB / 0.5764 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.398, allocations: 251.5 kB / 0.5767 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.398, allocations: 154.9 kB / 0.5768 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.398, allocations: 153.3 kB / 0.577 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.583e-05/0.3981, allocations: 106.5 kB / 0.5771 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3981, allocations: 78.5 kB / 0.5772 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3981, allocations: 158.5 kB / 0.5773 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.3982, allocations: 152.2 kB / 0.5774 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.3982, allocations: 154.7 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.3984, allocations: 461.8 kB / 0.578 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.3984, allocations: 171 kB / 0.5782 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.3985, allocations: 80.64 kB / 0.5783 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3985, allocations: 85.77 kB / 0.5784 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3985, allocations: 107.6 kB / 0.5785 GB, free: 25.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3985, allocations: 4.656 kB / 0.5785 GB, free: 25.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.555e-05/0.3986, allocations: 36.83 kB / 0.5785 GB, free: 25.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3986, allocations: 128.3 kB / 0.5786 GB, free: 25.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3987, allocations: 134.9 kB / 0.5788 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.3988, allocations: 25.7 kB / 0.5788 GB, free: 25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.3988, allocations: 95 kB / 0.5789 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3988, allocations: 0 / 0.5789 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3988, allocations: 16.98 kB / 0.5789 GB, free: 24.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.3989, allocations: 320.6 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.3989, allocations: 5.781 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.3989, allocations: 8.469 kB / 0.5792 GB, free: 24.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.626e-05/0.399, allocations: 17.34 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.399, allocations: 0.7812 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.3991, allocations: 53.72 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3991, allocations: 7.094 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3991, allocations: 4.297 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3992, allocations: 0 / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3992, allocations: 0 / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3992, allocations: 0.75 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.3992, allocations: 6.25 kB / 0.5793 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3992, allocations: 2.469 kB / 0.5793 GB, free: 24.51 MB / 446.1 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 5.796e-05/0.3993, allocations: 186.6 kB / 0.5795 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.3993, allocations: 115.6 kB / 0.5796 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3994, allocations: 116.7 kB / 0.5797 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.3994, allocations: 185.2 kB / 0.5799 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/0.3994, allocations: 184.5 kB / 0.58 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.3994, allocations: 178.6 kB / 0.5802 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3996, allocations: 426.1 kB / 0.5806 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3996, allocations: 105.6 kB / 0.5807 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.3996, allocations: 108 kB / 0.5808 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/0.3997, allocations: 179.7 kB / 0.581 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3997, allocations: 178.4 kB / 0.5812 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/0.3997, allocations: 183.7 kB / 0.5813 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-05/0.3997, allocations: 178.1 kB / 0.5815 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/0.3998, allocations: 314.9 kB / 0.5818 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.3999, allocations: 187.1 kB / 0.582 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3999, allocations: 183.5 kB / 0.5822 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.4, allocations: 105.9 kB / 0.5823 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.4, allocations: 182.9 kB / 0.5824 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4, allocations: 103.6 kB / 0.5825 GB, free: 21.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.4001, allocations: 103.8 kB / 0.5826 GB, free: 20.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4001, allocations: 1.375 kB / 0.5826 GB, free: 20.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007568/0.4008, allocations: 287.1 kB / 0.5829 GB, free: 20.87 MB / 446.1 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.001185/0.402, allocations: 1.179 MB / 0.5841 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.4021, allocations: 40.56 kB / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4021, allocations: 3.938 kB / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.4021, allocations: 0 / 0.5841 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4025, allocations: 459.7 kB / 0.5845 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4036, allocations: 1.594 MB / 0.5861 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.4037, allocations: 0.6834 MB / 0.5868 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.4037, allocations: 2.719 kB / 0.5868 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.4037, allocations: 15.3 kB / 0.5868 GB, free: 17.33 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4037, allocations: 1.188 kB / 0.5868 GB, free: 17.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.4289, allocations: 7.092 MB / 0.5937 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.011, allocations: 9.641 kB / 0.5937 GB, free: 13.85 MB / 446.1 MB (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)