Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_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.005201/0.005201, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001406/0.001406, allocations: 187 kB / 16.67 MB, free: 5.883 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7231/0.7231, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.16 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 80.22 MB / 0.6593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002376/0.147, allocations: 1.429 MB / 0.6607 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.1511, allocations: 2.876 MB / 0.6635 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.1512, allocations: 0 / 0.6635 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.1512, allocations: 7.922 kB / 0.6635 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.1513, allocations: 11.88 kB / 0.6635 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.1552, allocations: 1.582 MB / 0.665 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.1553, allocations: 43.67 kB / 0.6651 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.1553, allocations: 7.984 kB / 0.6651 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.1553, allocations: 15.94 kB / 0.6651 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.645e-05/0.1554, allocations: 19.86 kB / 0.6651 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1554, allocations: 0 / 0.6651 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.1574, allocations: 1.525 MB / 0.6666 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1574, allocations: 4 kB / 0.6666 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1575, allocations: 23.86 kB / 0.6666 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1588, allocations: 1.096 MB / 0.6677 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1588, allocations: 0 / 0.6677 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1588, allocations: 0 / 0.6677 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1588, allocations: 0 / 0.6677 GB, free: 5.297 MB / 0.4981 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.0005573/0.1594, allocations: 0.5186 MB / 0.6682 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1594, allocations: 8.031 kB / 0.6682 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.1595, allocations: 106 kB / 0.6683 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.1595, allocations: 88.12 kB / 0.6684 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1597, allocations: 247.5 kB / 0.6686 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.1597, allocations: 158.4 kB / 0.6688 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.1598, allocations: 150.6 kB / 0.6689 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.46e-05/0.1598, allocations: 105 kB / 0.669 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1599, allocations: 75.28 kB / 0.6691 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.1599, allocations: 158.6 kB / 0.6693 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.16, allocations: 150.6 kB / 0.6694 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.16, allocations: 154.5 kB / 0.6696 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.1603, allocations: 469.8 kB / 0.67 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.1604, allocations: 173.1 kB / 0.6702 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.1604, allocations: 80.14 kB / 0.6702 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1604, allocations: 79.28 kB / 0.6703 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1605, allocations: 105.8 kB / 0.6704 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.1605, allocations: 3.984 kB / 0.6704 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.372e-05/0.1606, allocations: 37.55 kB / 0.6705 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1606, allocations: 134.7 kB / 0.6706 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1607, allocations: 136.2 kB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1608, allocations: 25.7 kB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.1608, allocations: 96.12 kB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1608, allocations: 0 / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1609, allocations: 13.72 kB / 0.6708 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.161, allocations: 326.8 kB / 0.6712 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.161, allocations: 8 kB / 0.6712 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.161, allocations: 8 kB / 0.6712 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.1611, allocations: 20.91 kB / 0.6712 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1611, allocations: 0 / 0.6712 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.1612, allocations: 53.62 kB / 0.6712 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1612, allocations: 4 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.1612, allocations: 4 kB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1613, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1613, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1613, allocations: 0 / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.1613, allocations: 7.969 kB / 0.6713 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1613, allocations: 4 kB / 0.6713 GB, free: 1.41 MB / 0.4981 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.286e-05/0.1614, allocations: 185.1 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1615, allocations: 108.9 kB / 0.6715 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.1615, allocations: 124.5 kB / 0.6717 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/0.1616, allocations: 176.3 kB / 0.6718 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.724e-05/0.1617, allocations: 188.2 kB / 0.672 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/0.1617, allocations: 176.3 kB / 0.6722 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1619, allocations: 421.1 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.162, allocations: 104.9 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.162, allocations: 101 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-05/0.1621, allocations: 180.2 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.1621, allocations: 184.3 kB / 0.6731 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.906e-05/0.1622, allocations: 180.2 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.173e-05/0.1622, allocations: 180.3 kB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.1623, allocations: 311.7 kB / 0.6738 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1624, allocations: 194 kB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.1625, allocations: 180.3 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.1626, allocations: 108.9 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1626, allocations: 180.3 kB / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1626, allocations: 104.9 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.1627, allocations: 99.25 kB / 0.6746 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 4 kB / 0.6746 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006661/0.1634, allocations: 283.8 kB / 0.6749 GB, free: 13.49 MB / 0.5137 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.00121/0.1646, allocations: 1.175 MB / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1647, allocations: 45.64 kB / 0.6761 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1647, allocations: 0 / 0.6761 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.1647, allocations: 4 kB / 0.6761 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1651, allocations: 469.9 kB / 0.6765 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1663, allocations: 1.587 MB / 0.6781 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.1666, allocations: 0.6885 MB / 0.6787 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.258e-05/0.1666, allocations: 0 / 0.6787 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1666, allocations: 15.44 kB / 0.6787 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1666, allocations: 0 / 0.6787 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1922, allocations: 7.037 MB / 0.6856 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.789, allocations: 14.78 kB / 0.6856 GB, free: 2.543 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)