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.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/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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001112/0.001112, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.226/1.226, 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.6537/0.6537, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 62.66 kB / 0.5578 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 76.18 MB / 0.6322 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002191/0.1122, allocations: 1.418 MB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.116, allocations: 2.899 MB / 0.6364 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.116, allocations: 0 / 0.6364 GB, free: 24 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.1161, allocations: 7.922 kB / 0.6364 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.1161, allocations: 15.86 kB / 0.6364 GB, free: 0 / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.1193, allocations: 1.595 MB / 0.6379 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.1194, allocations: 47.67 kB / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.909e-05/0.1194, allocations: 0 / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.1194, allocations: 11.94 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.1195, allocations: 19.92 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1195, allocations: 4 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.1214, allocations: 1.537 MB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1214, allocations: 0 / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1214, allocations: 19.88 kB / 0.6395 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.1226, allocations: 1.111 MB / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1226, allocations: 0 / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1226, allocations: 0 / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1226, allocations: 0 / 0.6406 GB, free: 11.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005022/0.1231, allocations: 0.532 MB / 0.6412 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1232, allocations: 8.031 kB / 0.6412 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.1232, allocations: 80.22 kB / 0.6412 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1234, allocations: 247.5 kB / 0.6415 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.1234, allocations: 150.9 kB / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.1235, allocations: 150.9 kB / 0.6418 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.1235, allocations: 113 kB / 0.6419 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.1236, allocations: 91.2 kB / 0.642 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.1236, allocations: 150.6 kB / 0.6421 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.1237, allocations: 154.5 kB / 0.6422 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.1237, allocations: 150.6 kB / 0.6424 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.124, allocations: 469.8 kB / 0.6428 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.1241, allocations: 173.1 kB / 0.643 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.1241, allocations: 80.14 kB / 0.6431 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1241, allocations: 75.28 kB / 0.6431 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.1242, allocations: 113.8 kB / 0.6433 GB, free: 8.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1242, allocations: 4 kB / 0.6433 GB, free: 8.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.907e-05/0.1242, allocations: 29.69 kB / 0.6433 GB, free: 8.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1243, allocations: 134.6 kB / 0.6434 GB, free: 8.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1244, allocations: 135.5 kB / 0.6435 GB, free: 8.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1244, allocations: 25.7 kB / 0.6436 GB, free: 8.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1245, allocations: 96.12 kB / 0.6437 GB, free: 8.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.1245, allocations: 0 / 0.6437 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.1245, allocations: 13.72 kB / 0.6437 GB, free: 8.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.1246, allocations: 322.9 kB / 0.644 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.1246, allocations: 4 kB / 0.644 GB, free: 8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.1247, allocations: 8 kB / 0.644 GB, free: 7.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.1247, allocations: 16.86 kB / 0.644 GB, free: 7.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1247, allocations: 0 / 0.644 GB, free: 7.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.1248, allocations: 53.53 kB / 0.6441 GB, free: 7.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1248, allocations: 8 kB / 0.6441 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.1249, allocations: 7.938 kB / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1249, allocations: 0 / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1249, allocations: 4.062 kB / 0.6441 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1249, allocations: 0 / 0.6441 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1249, allocations: 4 kB / 0.6441 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1249, allocations: 0 / 0.6441 GB, free: 7.891 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.136e-05/0.125, allocations: 185.1 kB / 0.6443 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.1251, allocations: 116.8 kB / 0.6444 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1251, allocations: 108.8 kB / 0.6445 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-05/0.1252, allocations: 180.3 kB / 0.6446 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/0.1252, allocations: 184.3 kB / 0.6448 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.1253, allocations: 180.2 kB / 0.645 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.1255, allocations: 413.2 kB / 0.6454 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.1255, allocations: 108.9 kB / 0.6455 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.1256, allocations: 117 kB / 0.6456 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.317e-05/0.1256, allocations: 176.3 kB / 0.6458 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.1257, allocations: 188.2 kB / 0.646 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-05/0.1257, allocations: 180.2 kB / 0.6461 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.085e-05/0.1258, allocations: 184.1 kB / 0.6463 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1259, allocations: 303.8 kB / 0.6466 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.126, allocations: 197.9 kB / 0.6468 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.126, allocations: 180.3 kB / 0.647 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.1261, allocations: 104.9 kB / 0.6471 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.1262, allocations: 180.3 kB / 0.6472 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.1262, allocations: 109 kB / 0.6473 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.519e-05/0.1263, allocations: 101.4 kB / 0.6474 GB, free: 4.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1263, allocations: 3.938 kB / 0.6474 GB, free: 4.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005889/0.1269, allocations: 287.8 kB / 0.6477 GB, free: 3.957 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 (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.0008652/0.1277, allocations: 0.5331 MB / 0.6482 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.1278, allocations: 37.7 kB / 0.6483 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1278, allocations: 0 / 0.6483 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1278, allocations: 0 / 0.6483 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1282, allocations: 468.3 kB / 0.6487 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1285, allocations: 243.8 kB / 0.6489 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.1287, allocations: 0.6846 MB / 0.6496 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.129e-05/0.1287, allocations: 0 / 0.6496 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.1287, allocations: 11.44 kB / 0.6496 GB, free: 1.922 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1287, allocations: 0 / 0.6496 GB, free: 1.922 MB / 494.1 MB Notification: Performance of Templates: time 0.008066/0.1368, allocations: 5.635 MB / 0.6551 GB, free: 12.34 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)