Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.006811/0.006811, allocations: 101.4 kB / 15.73 MB, free: 6.031 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.001435/0.001435, allocations: 197.4 kB / 16.67 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9901/0.9901, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.91 kB / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4612, allocations: 80.91 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002339/0.4636, allocations: 1.371 MB / 0.6656 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.4663, allocations: 1.788 MB / 0.6673 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.4664, allocations: 1.094 kB / 0.6673 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.424e-05/0.4665, allocations: 5.281 kB / 0.6673 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.4666, allocations: 34.39 kB / 0.6673 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.469, allocations: 1.145 MB / 0.6685 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4691, allocations: 50.61 kB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.4691, allocations: 2.875 kB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.4692, allocations: 23.03 kB / 0.6685 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.4693, allocations: 26.52 kB / 0.6686 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4693, allocations: 5.219 kB / 0.6686 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4705, allocations: 0.8837 MB / 0.6694 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.4705, allocations: 29.53 kB / 0.6695 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.4706, allocations: 29.3 kB / 0.6695 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.4714, allocations: 0.7955 MB / 0.6703 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4715, allocations: 1.594 kB / 0.6703 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4715, allocations: 0 / 0.6703 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4715, allocations: 0 / 0.6703 GB, free: 2.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004669/0.4719, allocations: 474.1 kB / 0.6707 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.472, allocations: 13.88 kB / 0.6707 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.472, allocations: 31.84 kB / 0.6708 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.4721, allocations: 12.78 kB / 0.6708 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4722, allocations: 189.5 kB / 0.671 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-06/0.4722, allocations: 3.938 kB / 0.671 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4722, allocations: 1.312 kB / 0.671 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4723, allocations: 57.72 kB / 0.671 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4724, allocations: 0 / 0.671 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.4724, allocations: 0 / 0.671 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4724, allocations: 0 / 0.671 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.4724, allocations: 30.89 kB / 0.671 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.4726, allocations: 195.2 kB / 0.6712 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.4726, allocations: 47.42 kB / 0.6713 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.4727, allocations: 32.03 kB / 0.6713 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4727, allocations: 1.188 kB / 0.6713 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.4727, allocations: 35.59 kB / 0.6713 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.4727, allocations: 4 kB / 0.6713 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002193/0.473, allocations: 118.2 kB / 0.6715 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.473, allocations: 55.41 kB / 0.6715 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4731, allocations: 156.5 kB / 0.6717 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.4731, allocations: 25.7 kB / 0.6717 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.4732, allocations: 93.02 kB / 0.6718 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4732, allocations: 34.69 kB / 0.6718 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.4732, allocations: 14.25 kB / 0.6718 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.4733, allocations: 330 kB / 0.6721 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.4733, allocations: 22.89 kB / 0.6722 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.4734, allocations: 25.98 kB / 0.6722 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.4734, allocations: 61.84 kB / 0.6722 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4735, allocations: 0 / 0.6722 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001053/0.4736, allocations: 97.17 kB / 0.6723 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4736, allocations: 8.375 kB / 0.6723 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4736, allocations: 1.156 kB / 0.6723 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4736, allocations: 0 / 0.6723 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.4736, allocations: 1.125 kB / 0.6723 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4736, allocations: 4.062 kB / 0.6723 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.4737, allocations: 5.188 kB / 0.6724 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4737, allocations: 1.156 kB / 0.6724 GB, free: 0.9766 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 7.183e-05/0.4738, allocations: 131.5 kB / 0.6725 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.4738, allocations: 12.42 kB / 0.6725 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4739, allocations: 111.1 kB / 0.6726 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4739, allocations: 0 / 0.6726 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.474, allocations: 1.156 kB / 0.6726 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.474, allocations: 3.938 kB / 0.6726 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4741, allocations: 196.6 kB / 0.6728 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4741, allocations: 2.625 kB / 0.6728 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.4741, allocations: 4 kB / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4741, allocations: 0 / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4741, allocations: 1.5 kB / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4741, allocations: 0 / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4741, allocations: 0 / 0.6728 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.4742, allocations: 130.6 kB / 0.6729 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.4743, allocations: 87.05 kB / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4743, allocations: 1.094 kB / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.4743, allocations: 0 / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.4743, allocations: 9.953 kB / 0.673 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4744, allocations: 1 kB / 0.673 GB, free: 360 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.4744, allocations: 117.6 kB / 0.6731 GB, free: 268 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4744, allocations: 0 / 0.6731 GB, free: 268 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005594/0.475, allocations: 204 kB / 0.6733 GB, free: 216 kB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.00102/0.476, allocations: 0.8869 MB / 0.6742 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.4762, allocations: 100.3 kB / 0.6743 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4762, allocations: 1.125 kB / 0.6743 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.4763, allocations: 66.72 kB / 0.6743 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4765, allocations: 16.95 kB / 0.6744 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.4781, allocations: 1.604 MB / 0.6759 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4784, allocations: 0.7105 MB / 0.6766 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.4784, allocations: 1.156 kB / 0.6766 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.4784, allocations: 20.59 kB / 0.6766 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4784, allocations: 0 / 0.6766 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.5039, allocations: 5.987 MB / 0.6825 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.313, allocations: 7.297 kB / 0.6825 GB, free: 10.3 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)