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.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/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_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.0007328/0.0007328, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007259/0.0007262, allocations: 172.8 kB / 16.58 MB, free: 6.848 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.178/1.178, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5942/0.5942, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 493.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 77.12 MB / 0.557 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001116/0.1143, allocations: 1.082 MB / 0.558 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1163, allocations: 1.628 MB / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1164, allocations: 0 / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.272e-05/0.1165, allocations: 11.92 kB / 0.5596 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.1166, allocations: 19.89 kB / 0.5596 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.1184, allocations: 0.9264 MB / 0.5605 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.1184, allocations: 63.75 kB / 0.5606 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.1185, allocations: 4 kB / 0.5606 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.1185, allocations: 23.91 kB / 0.5606 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.1186, allocations: 23.92 kB / 0.5606 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1186, allocations: 3.938 kB / 0.5606 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007962/0.1194, allocations: 0.6824 MB / 0.5613 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1195, allocations: 35.91 kB / 0.5613 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.1195, allocations: 33.64 kB / 0.5614 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.12, allocations: 0.4916 MB / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.12, allocations: 0 / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.12, allocations: 0 / 0.5619 GB, free: 6.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.12, allocations: 0 / 0.5619 GB, free: 6.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004023/0.1204, allocations: 474.8 kB / 0.5623 GB, free: 6.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1205, allocations: 15.98 kB / 0.5623 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.1205, allocations: 30.56 kB / 0.5624 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.1205, allocations: 11.91 kB / 0.5624 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1207, allocations: 190 kB / 0.5626 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.1207, allocations: 3.953 kB / 0.5626 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-06/0.1207, allocations: 0 / 0.5626 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.1208, allocations: 53.67 kB / 0.5626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.1208, allocations: 0 / 0.5626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.1208, allocations: 0 / 0.5626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1208, allocations: 3.938 kB / 0.5626 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.1209, allocations: 27.98 kB / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.121, allocations: 189.6 kB / 0.5628 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.1211, allocations: 50.53 kB / 0.5629 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.1211, allocations: 40.8 kB / 0.5629 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1211, allocations: 4 kB / 0.5629 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1212, allocations: 34.5 kB / 0.5629 GB, free: 5.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.1212, allocations: 0 / 0.5629 GB, free: 5.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001722/0.1214, allocations: 121.6 kB / 0.5631 GB, free: 5.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1214, allocations: 55.44 kB / 0.5631 GB, free: 5.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1215, allocations: 154.9 kB / 0.5633 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1215, allocations: 25.7 kB / 0.5633 GB, free: 4.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.1216, allocations: 100.1 kB / 0.5634 GB, free: 4.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1216, allocations: 23.64 kB / 0.5634 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.1216, allocations: 0 / 0.5634 GB, free: 4.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.1217, allocations: 318.8 kB / 0.5637 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.1217, allocations: 23.98 kB / 0.5637 GB, free: 4.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.1218, allocations: 28.22 kB / 0.5638 GB, free: 4.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.1218, allocations: 36.08 kB / 0.5638 GB, free: 4.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1218, allocations: 0 / 0.5638 GB, free: 4.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.654e-05/0.1219, allocations: 97.53 kB / 0.5639 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.1219, allocations: 4 kB / 0.5639 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.122, allocations: 4 kB / 0.5639 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.122, allocations: 0 / 0.5639 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.122, allocations: 0 / 0.5639 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.122, allocations: 4 kB / 0.5639 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.122, allocations: 3.906 kB / 0.5639 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.122, allocations: 0 / 0.5639 GB, free: 4.23 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 7.143e-05/0.1221, allocations: 129.8 kB / 0.564 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1221, allocations: 11.86 kB / 0.564 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1223, allocations: 106.4 kB / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1223, allocations: 0 / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1223, allocations: 0 / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.1223, allocations: 0 / 0.5641 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1224, allocations: 189.6 kB / 0.5643 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1224, allocations: 0 / 0.5643 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1224, allocations: 4 kB / 0.5643 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1224, allocations: 4.031 kB / 0.5643 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1224, allocations: 3.953 kB / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1224, allocations: 0 / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1224, allocations: 3.984 kB / 0.5643 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1226, allocations: 128.8 kB / 0.5645 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.1226, allocations: 88.95 kB / 0.5645 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1226, allocations: 0 / 0.5645 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.1226, allocations: 3.953 kB / 0.5645 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.1227, allocations: 4.031 kB / 0.5645 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1227, allocations: 4 kB / 0.5645 GB, free: 3.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.71e-05/0.1227, allocations: 117.5 kB / 0.5647 GB, free: 3.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1227, allocations: 0 / 0.5647 GB, free: 3.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.1232, allocations: 199.9 kB / 0.5649 GB, free: 3.152 MB / 430.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 (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 Backend phase and start with SimCode phase: time 0.0007731/0.1239, allocations: 0.8716 MB / 0.5657 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1241, allocations: 93.67 kB / 0.5658 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1241, allocations: 0 / 0.5658 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.1241, allocations: 65.69 kB / 0.5659 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.1243, allocations: 15.89 kB / 0.5659 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.1251, allocations: 0.7812 MB / 0.5666 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1254, allocations: 0.7043 MB / 0.5673 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.1254, allocations: 4 kB / 0.5673 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.1254, allocations: 23.42 kB / 0.5673 GB, free: 492 kB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1254, allocations: 0 / 0.5673 GB, free: 492 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1401, allocations: 5.718 MB / 0.5729 GB, free: 11.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.1403, allocations: 275.4 kB / 0.5732 GB, free: 10.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.755, allocations: 0 / 0.5732 GB, free: 10.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) Environment - environmentSimulation: