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.001649/0.001649, allocations: 101 kB / 16.4 MB, free: 6.5 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.001895/0.001895, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6726/0.6726, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.3 kB / 0.5573 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 76.18 MB / 0.6317 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002331/0.1366, allocations: 1.36 MB / 0.633 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1393, allocations: 1.786 MB / 0.6347 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.1393, allocations: 0 / 0.6347 GB, free: 1.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.8e-05/0.1395, allocations: 15.86 kB / 0.6348 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1396, allocations: 31.83 kB / 0.6348 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.1422, allocations: 1.139 MB / 0.6359 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.1423, allocations: 55.7 kB / 0.6359 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1424, allocations: 4 kB / 0.636 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.1425, allocations: 19.92 kB / 0.636 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1425, allocations: 27.84 kB / 0.636 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1425, allocations: 0 / 0.636 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1437, allocations: 0.8891 MB / 0.6369 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1438, allocations: 31.91 kB / 0.6369 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1439, allocations: 19.81 kB / 0.6369 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1449, allocations: 0.7988 MB / 0.6377 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1449, allocations: 4 kB / 0.6377 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1449, allocations: 0 / 0.6377 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1449, allocations: 0 / 0.6377 GB, free: 14.8 MB / 494.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.0005816/0.1455, allocations: 478.8 kB / 0.6382 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1455, allocations: 12.03 kB / 0.6382 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.1456, allocations: 34.75 kB / 0.6382 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1456, allocations: 12.83 kB / 0.6382 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1458, allocations: 188.7 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1458, allocations: 4.125 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1458, allocations: 3.938 kB / 0.6384 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1459, allocations: 53.69 kB / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1459, allocations: 0 / 0.6384 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.1459, allocations: 4 kB / 0.6385 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.146, allocations: 4 kB / 0.6385 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.146, allocations: 23.98 kB / 0.6385 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1462, allocations: 185.7 kB / 0.6387 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.1462, allocations: 50.5 kB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.1463, allocations: 36.81 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1463, allocations: 0 / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1463, allocations: 34.56 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1463, allocations: 0 / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001988/0.1465, allocations: 117.8 kB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.1466, allocations: 55.34 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1467, allocations: 157.2 kB / 0.6391 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1467, allocations: 29.7 kB / 0.6391 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1468, allocations: 92.14 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.1468, allocations: 27.55 kB / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1468, allocations: 21.75 kB / 0.6393 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.1469, allocations: 326.8 kB / 0.6396 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.147, allocations: 28.08 kB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.147, allocations: 35.91 kB / 0.6396 GB, free: 12.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/0.1471, allocations: 60.83 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1471, allocations: 0 / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.1472, allocations: 93.58 kB / 0.6398 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1472, allocations: 4 kB / 0.6398 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1473, allocations: 0 / 0.6398 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1473, allocations: 8.062 kB / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1473, allocations: 0 / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1473, allocations: 0 / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.1473, allocations: 0 / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1473, allocations: 0 / 0.6398 GB, free: 12.43 MB / 494.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 7.864e-05/0.1474, allocations: 129.7 kB / 0.6399 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1474, allocations: 11.81 kB / 0.6399 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1476, allocations: 102.4 kB / 0.64 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1476, allocations: 0 / 0.64 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1476, allocations: 8.031 kB / 0.64 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1476, allocations: 4 kB / 0.64 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1477, allocations: 197.5 kB / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1478, allocations: 0 / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1479, allocations: 132.9 kB / 0.6403 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.148, allocations: 84.92 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.148, allocations: 4 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.148, allocations: 3.938 kB / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.148, allocations: 0 / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.148, allocations: 0 / 0.6404 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.1481, allocations: 124.3 kB / 0.6405 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1481, allocations: 0 / 0.6405 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.1487, allocations: 199.9 kB / 0.6407 GB, free: 11.34 MB / 494.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 (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.0009927/0.1497, allocations: 0.8914 MB / 0.6416 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1498, allocations: 97.66 kB / 0.6417 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1498, allocations: 0 / 0.6417 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.1499, allocations: 65.69 kB / 0.6418 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1501, allocations: 20.75 kB / 0.6418 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1515, allocations: 1.607 MB / 0.6434 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1517, allocations: 0.7119 MB / 0.6441 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.1517, allocations: 0 / 0.6441 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.1518, allocations: 23.44 kB / 0.6441 GB, free: 7.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1518, allocations: 0 / 0.6441 GB, free: 7.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1761, allocations: 5.99 MB / 0.6499 GB, free: 2.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.743, allocations: 16.78 kB / 0.6499 GB, free: 1.996 MB / 494.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/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)