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.001271/0.00127, allocations: 104.4 kB / 16.4 MB, free: 6.508 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.001802/0.001803, allocations: 196 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.263/1.263, 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.6846/0.6846, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.89 kB / 0.5578 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 76.18 MB / 0.6322 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002541/0.1195, allocations: 1.424 MB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.1235, allocations: 2.891 MB / 0.6364 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.1236, allocations: 0 / 0.6364 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.1236, allocations: 3.938 kB / 0.6364 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.1237, allocations: 19.84 kB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.1273, allocations: 1.604 MB / 0.638 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.1274, allocations: 47.69 kB / 0.638 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.1274, allocations: 3.984 kB / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.1274, allocations: 11.94 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.643e-05/0.1275, allocations: 15.94 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1275, allocations: 4 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.1296, allocations: 1.536 MB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1296, allocations: 4 kB / 0.6395 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1296, allocations: 23.88 kB / 0.6396 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1312, allocations: 1.103 MB / 0.6406 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1312, allocations: 0 / 0.6406 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1312, allocations: 0 / 0.6406 GB, free: 11.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1312, allocations: 0 / 0.6406 GB, free: 11.67 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.0006257/0.1318, allocations: 0.5281 MB / 0.6412 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1319, allocations: 12.02 kB / 0.6412 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.1319, allocations: 84.16 kB / 0.6412 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1321, allocations: 251.5 kB / 0.6415 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.1322, allocations: 150.9 kB / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.1322, allocations: 150.9 kB / 0.6418 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.279e-05/0.1323, allocations: 105.1 kB / 0.6419 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1323, allocations: 79.28 kB / 0.6419 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.1324, allocations: 150.6 kB / 0.6421 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.1324, allocations: 162.5 kB / 0.6422 GB, free: 9.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.1325, allocations: 154.5 kB / 0.6424 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.1328, allocations: 465.8 kB / 0.6428 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.1328, allocations: 169.1 kB / 0.643 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.1329, allocations: 88.08 kB / 0.6431 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1329, allocations: 75.28 kB / 0.6432 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.133, allocations: 113.8 kB / 0.6433 GB, free: 8.805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.133, allocations: 0 / 0.6433 GB, free: 8.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.133, allocations: 29.64 kB / 0.6433 GB, free: 8.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1331, allocations: 134.7 kB / 0.6434 GB, free: 8.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1332, allocations: 135.6 kB / 0.6436 GB, free: 8.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.1332, allocations: 25.7 kB / 0.6436 GB, free: 8.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1333, allocations: 96.12 kB / 0.6437 GB, free: 8.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.1333, allocations: 0 / 0.6437 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1333, allocations: 13.72 kB / 0.6437 GB, free: 8.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1334, allocations: 318.9 kB / 0.644 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1335, allocations: 4 kB / 0.644 GB, free: 8.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.1335, allocations: 8 kB / 0.644 GB, free: 8.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.1335, allocations: 28.95 kB / 0.644 GB, free: 7.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1335, allocations: 3.938 kB / 0.644 GB, free: 7.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.1337, allocations: 49.55 kB / 0.6441 GB, free: 7.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1337, allocations: 11.98 kB / 0.6441 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.1337, allocations: 4 kB / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1337, allocations: 0 / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.1337, allocations: 0 / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1337, allocations: 0 / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.1338, allocations: 0 / 0.6441 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1338, allocations: 0 / 0.6441 GB, free: 7.898 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 8.611e-05/0.1339, allocations: 189.2 kB / 0.6443 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1339, allocations: 116.8 kB / 0.6444 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.134, allocations: 112.8 kB / 0.6445 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.497e-05/0.134, allocations: 176.3 kB / 0.6447 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.283e-05/0.1341, allocations: 184.2 kB / 0.6448 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.1342, allocations: 180.3 kB / 0.645 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1344, allocations: 417.1 kB / 0.6454 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/0.1344, allocations: 112.9 kB / 0.6455 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.1345, allocations: 104.9 kB / 0.6456 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-05/0.1345, allocations: 180.2 kB / 0.6458 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.1346, allocations: 180.3 kB / 0.646 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.802e-05/0.1346, allocations: 184.2 kB / 0.6461 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.753e-05/0.1347, allocations: 180.2 kB / 0.6463 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1348, allocations: 303.8 kB / 0.6466 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.1349, allocations: 189.9 kB / 0.6468 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.135, allocations: 192.2 kB / 0.647 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.1351, allocations: 101 kB / 0.6471 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1351, allocations: 184.3 kB / 0.6472 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.1352, allocations: 108.9 kB / 0.6473 GB, free: 4.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.1352, allocations: 97.3 kB / 0.6474 GB, free: 4.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1353, allocations: 0 / 0.6474 GB, free: 4.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.136, allocations: 283.8 kB / 0.6477 GB, free: 3.977 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.001099/0.1371, allocations: 0.5409 MB / 0.6482 GB, free: 3.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.1372, allocations: 37.7 kB / 0.6483 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1372, allocations: 0 / 0.6483 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.1372, allocations: 3.938 kB / 0.6483 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1376, allocations: 472.4 kB / 0.6487 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.1379, allocations: 243.8 kB / 0.6489 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1381, allocations: 0.6846 MB / 0.6496 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.287e-05/0.1382, allocations: 0 / 0.6496 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.1382, allocations: 7.438 kB / 0.6496 GB, free: 1.93 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1382, allocations: 0 / 0.6496 GB, free: 1.93 MB / 494.1 MB Notification: Performance of Templates: time 0.009308/0.1475, 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)