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.001368/0.001368, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 173.2 kB / 16.56 MB, free: 6.391 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.363/1.363, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6528/0.6528, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 8 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1905, allocations: 77.11 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001431/0.1919, allocations: 1.113 MB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1954, allocations: 2.568 MB / 0.5604 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.1955, allocations: 4 kB / 0.5604 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.1955, allocations: 3.938 kB / 0.5604 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.1956, allocations: 15.97 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.1984, allocations: 1.24 MB / 0.5616 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.1985, allocations: 35.88 kB / 0.5616 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.1986, allocations: 7.938 kB / 0.5616 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.1986, allocations: 19.94 kB / 0.5617 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.1986, allocations: 15.92 kB / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.1986, allocations: 0 / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.2004, allocations: 1.197 MB / 0.5629 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.2004, allocations: 0 / 0.5629 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.2005, allocations: 33.64 kB / 0.5629 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2015, allocations: 0.7216 MB / 0.5636 GB, free: 4.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2016, allocations: 0 / 0.5636 GB, free: 4.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2016, allocations: 0 / 0.5636 GB, free: 4.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2016, allocations: 4 kB / 0.5636 GB, free: 4.656 MB / 430.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.0005552/0.2021, allocations: 0.5106 MB / 0.5641 GB, free: 4.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2022, allocations: 8.031 kB / 0.5641 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.2022, allocations: 109.8 kB / 0.5642 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.2023, allocations: 79.19 kB / 0.5643 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.2025, allocations: 252.6 kB / 0.5645 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.2025, allocations: 150.6 kB / 0.5647 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.2026, allocations: 158.6 kB / 0.5648 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.806e-05/0.2027, allocations: 104.9 kB / 0.5649 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.2027, allocations: 75.28 kB / 0.565 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.2028, allocations: 154.6 kB / 0.5651 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/0.2029, allocations: 150.6 kB / 0.5653 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.986e-05/0.2029, allocations: 154.6 kB / 0.5654 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.2033, allocations: 465.8 kB / 0.5659 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.28e-05/0.2034, allocations: 173 kB / 0.566 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2034, allocations: 83.22 kB / 0.5661 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.2036, allocations: 109.8 kB / 0.5662 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.2036, allocations: 0 / 0.5662 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.953e-05/0.2036, allocations: 33.69 kB / 0.5662 GB, free: 1.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.2037, allocations: 130.7 kB / 0.5664 GB, free: 1.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2039, allocations: 133.9 kB / 0.5665 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2039, allocations: 25.7 kB / 0.5665 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.204, allocations: 96.12 kB / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.204, allocations: 3.938 kB / 0.5666 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.204, allocations: 4 kB / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2042, allocations: 318.8 kB / 0.5669 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.2042, allocations: 4 kB / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.2042, allocations: 4 kB / 0.5669 GB, free: 1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.2043, allocations: 8 kB / 0.5669 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2043, allocations: 0 / 0.5669 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/0.2044, allocations: 61.48 kB / 0.567 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2044, allocations: 4 kB / 0.567 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.2044, allocations: 4 kB / 0.567 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2045, allocations: 4.062 kB / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.2045, allocations: 0 / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2045, allocations: 0 / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.2045, allocations: 0 / 0.567 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2045, allocations: 4 kB / 0.567 GB, free: 0.9102 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2046, allocations: 181.1 kB / 0.5672 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.2047, allocations: 120.8 kB / 0.5673 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.2048, allocations: 112.6 kB / 0.5674 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/0.2048, allocations: 188.2 kB / 0.5676 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.448e-05/0.2049, allocations: 176.3 kB / 0.5678 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.104e-05/0.205, allocations: 176.3 kB / 0.5679 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.2053, allocations: 421.1 kB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/0.2053, allocations: 101 kB / 0.5684 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2054, allocations: 108.9 kB / 0.5685 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.618e-05/0.2054, allocations: 184.3 kB / 0.5687 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/0.2055, allocations: 184.2 kB / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.846e-05/0.2056, allocations: 184.3 kB / 0.5691 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.062e-05/0.2057, allocations: 180.5 kB / 0.5692 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.2058, allocations: 315.7 kB / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.2059, allocations: 193.9 kB / 0.5697 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.206, allocations: 176.3 kB / 0.5699 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2062, allocations: 108.9 kB / 0.57 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2063, allocations: 184.2 kB / 0.5702 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.2063, allocations: 105 kB / 0.5703 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.2064, allocations: 105.4 kB / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2064, allocations: 0 / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008168/0.2072, allocations: 279.8 kB / 0.5706 GB, free: 12.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.2084, allocations: 1.133 MB / 0.5717 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.2085, allocations: 37.7 kB / 0.5718 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2085, allocations: 0 / 0.5718 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.2085, allocations: 4 kB / 0.5718 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.2089, allocations: 0.535 MB / 0.5723 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.2095, allocations: 0.5562 MB / 0.5728 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2098, allocations: 0.6887 MB / 0.5735 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.2098, allocations: 7.938 kB / 0.5735 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.2099, allocations: 13.5 kB / 0.5735 GB, free: 9.898 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2099, allocations: 0 / 0.5735 GB, free: 9.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.2491, allocations: 6.779 MB / 0.5802 GB, free: 3.367 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.2493, allocations: 256.9 kB / 0.5804 GB, free: 3.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.601, allocations: 0 / 0.5804 GB, free: 3.027 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --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) Environment - environmentSimulation: