Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001658/0.001658, allocations: 107.3 kB / 16.4 MB, free: 6.496 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.001919/0.001919, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 62.7 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 76.19 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003604/0.1243, allocations: 3 MB / 0.6346 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1267, allocations: 2.147 MB / 0.6367 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.127, allocations: 4 kB / 0.6367 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.1282, allocations: 0.4946 MB / 0.6371 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1285, allocations: 150.8 kB / 0.6373 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.1286, allocations: 59.92 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1291, allocations: 448.6 kB / 0.6378 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.1293, allocations: 163.2 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1295, allocations: 151.4 kB / 0.6381 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1297, allocations: 183.1 kB / 0.6383 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.1297, allocations: 36 kB / 0.6383 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.1298, allocations: 36 kB / 0.6383 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1299, allocations: 95.67 kB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.13, allocations: 218.9 kB / 0.6386 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1305, allocations: 0.5489 MB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1305, allocations: 0 / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1305, allocations: 3.938 kB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1305, allocations: 3.938 kB / 0.6392 GB, free: 13.12 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000918/0.1314, allocations: 0.7084 MB / 0.6399 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1315, allocations: 12.03 kB / 0.6399 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.1315, allocations: 50.73 kB / 0.6399 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.1316, allocations: 48.38 kB / 0.64 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.1321, allocations: 382.1 kB / 0.6403 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1321, allocations: 12.81 kB / 0.6403 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.1322, allocations: 20.38 kB / 0.6404 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1325, allocations: 207.3 kB / 0.6406 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1326, allocations: 0 / 0.6406 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.1326, allocations: 11.98 kB / 0.6406 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1326, allocations: 4 kB / 0.6406 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.1329, allocations: 169.6 kB / 0.6407 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.134, allocations: 0.8583 MB / 0.6416 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1343, allocations: 163.1 kB / 0.6417 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1345, allocations: 112.8 kB / 0.6418 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1345, allocations: 0 / 0.6418 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1345, allocations: 34.56 kB / 0.6419 GB, free: 10.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.1345, allocations: 4 kB / 0.6419 GB, free: 10.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005603/0.1351, allocations: 261.2 kB / 0.6421 GB, free: 9.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1352, allocations: 55.41 kB / 0.6422 GB, free: 9.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.1356, allocations: 417.7 kB / 0.6426 GB, free: 9.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1356, allocations: 25.7 kB / 0.6426 GB, free: 9.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1357, allocations: 208.2 kB / 0.6428 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.1358, allocations: 59.11 kB / 0.6429 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.1358, allocations: 41.66 kB / 0.6429 GB, free: 9.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.136, allocations: 350.8 kB / 0.6432 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1361, allocations: 51.97 kB / 0.6433 GB, free: 8.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1363, allocations: 59.91 kB / 0.6433 GB, free: 8.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.1365, allocations: 134.9 kB / 0.6435 GB, free: 8.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1366, allocations: 0 / 0.6435 GB, free: 8.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003563/0.1369, allocations: 213.9 kB / 0.6437 GB, free: 8.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1369, allocations: 5.406 kB / 0.6437 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.137, allocations: 3.938 kB / 0.6437 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.137, allocations: 4 kB / 0.6437 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.1372, allocations: 47.97 kB / 0.6437 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1372, allocations: 0 / 0.6437 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1374, allocations: 23.83 kB / 0.6437 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1374, allocations: 4 kB / 0.6437 GB, free: 8.16 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001362/0.1375, allocations: 169.8 kB / 0.6439 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1376, allocations: 35.53 kB / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.1377, allocations: 47.53 kB / 0.644 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1377, allocations: 3.938 kB / 0.644 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1377, allocations: 0 / 0.644 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1377, allocations: 4 kB / 0.644 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.138, allocations: 377.3 kB / 0.6444 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1381, allocations: 0 / 0.6444 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.1383, allocations: 51.91 kB / 0.6444 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1383, allocations: 4 kB / 0.6444 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1383, allocations: 11.94 kB / 0.6444 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1383, allocations: 0 / 0.6444 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1383, allocations: 0 / 0.6444 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.1389, allocations: 380.9 kB / 0.6448 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.523e-05/0.139, allocations: 116.7 kB / 0.6449 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.139, allocations: 12 kB / 0.6449 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1392, allocations: 7.984 kB / 0.6449 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1393, allocations: 11.98 kB / 0.6449 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1393, allocations: 4 kB / 0.6449 GB, free: 6.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1395, allocations: 303.2 kB / 0.6452 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1396, allocations: 0 / 0.6452 GB, free: 6.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1399, allocations: 71.84 kB / 0.6453 GB, free: 6.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0007835/0.1406, allocations: 0.921 MB / 0.6462 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.141, allocations: 147.8 kB / 0.6463 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.141, allocations: 64 / 0.6463 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1412, allocations: 85.56 kB / 0.6464 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.1417, allocations: 94.69 kB / 0.6465 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.1457, allocations: 3.48 MB / 0.6499 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1461, allocations: 0.7989 MB / 0.6507 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1462, allocations: 26.97 kB / 0.6507 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.1464, allocations: 126 kB / 0.6508 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1464, allocations: 0 / 0.6508 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1731, allocations: 8.092 MB / 0.6587 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.854, allocations: 15.16 kB / 0.6587 GB, free: 8.855 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)