Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 109.2 kB / 17.09 MB, free: 5.836 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.001307/0.001307, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.202/1.202, allocations: 222.9 MB / 241.7 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.6607/0.6607, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 66.75 kB / 0.5584 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 76.18 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004849/0.1288, allocations: 4.131 MB / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.1321, allocations: 2.413 MB / 0.6392 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.1326, allocations: 8 kB / 0.6392 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.1343, allocations: 0.5363 MB / 0.6397 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.135, allocations: 246 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1353, allocations: 139.9 kB / 0.6401 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.1364, allocations: 0.8097 MB / 0.6409 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.1369, allocations: 330.5 kB / 0.6412 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.1373, allocations: 299 kB / 0.6415 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.1379, allocations: 322.6 kB / 0.6418 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.1381, allocations: 76 kB / 0.6419 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.1383, allocations: 76 kB / 0.6419 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.1385, allocations: 175.4 kB / 0.6421 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.1391, allocations: 390.3 kB / 0.6425 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009606/0.14, allocations: 0.9966 MB / 0.6434 GB, free: 9.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.14, allocations: 0 / 0.6434 GB, free: 9.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.14, allocations: 3.938 kB / 0.6434 GB, free: 9.414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.1401, allocations: 0 / 0.6434 GB, free: 9.414 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001601/0.1417, allocations: 0.9463 MB / 0.6444 GB, free: 8.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1417, allocations: 8.031 kB / 0.6444 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1419, allocations: 76.09 kB / 0.6444 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.1426, allocations: 457.6 kB / 0.6449 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.1426, allocations: 37.38 kB / 0.6449 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.1427, allocations: 48.38 kB / 0.645 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.1435, allocations: 434.7 kB / 0.6454 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1435, allocations: 0 / 0.6454 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1436, allocations: 20 kB / 0.6454 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1436, allocations: 12 kB / 0.6454 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.1443, allocations: 367.8 kB / 0.6458 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.1464, allocations: 1.524 MB / 0.6472 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.147, allocations: 339.2 kB / 0.6476 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.1474, allocations: 317.4 kB / 0.6479 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1474, allocations: 7.781 kB / 0.6479 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1475, allocations: 46.48 kB / 0.6479 GB, free: 4.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.1475, allocations: 4 kB / 0.6479 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008981/0.1484, allocations: 0.4887 MB / 0.6484 GB, free: 4.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1484, allocations: 59.41 kB / 0.6485 GB, free: 4.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.1489, allocations: 481.9 kB / 0.6489 GB, free: 3.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.149, allocations: 33.7 kB / 0.649 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1492, allocations: 280.3 kB / 0.6492 GB, free: 3.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1493, allocations: 145.8 kB / 0.6494 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.1494, allocations: 58.84 kB / 0.6494 GB, free: 3.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1495, allocations: 370.8 kB / 0.6498 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1498, allocations: 116.7 kB / 0.6499 GB, free: 2.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.15, allocations: 129.2 kB / 0.65 GB, free: 2.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.1505, allocations: 294.2 kB / 0.6503 GB, free: 2.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1505, allocations: 0 / 0.6503 GB, free: 2.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006005/0.1511, allocations: 392.5 kB / 0.6507 GB, free: 1.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1511, allocations: 17.91 kB / 0.6507 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1511, allocations: 0 / 0.6507 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1511, allocations: 0 / 0.6507 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.1516, allocations: 123.9 kB / 0.6508 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1516, allocations: 4 kB / 0.6508 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1518, allocations: 39.58 kB / 0.6508 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.1519, allocations: 8 kB / 0.6508 GB, free: 1.578 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 (46): * Single equations (assignments): 46 * 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.000194/0.1521, allocations: 201.8 kB / 0.651 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.1521, allocations: 51.38 kB / 0.6511 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1523, allocations: 57.11 kB / 0.6511 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1523, allocations: 11.91 kB / 0.6511 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1523, allocations: 4 kB / 0.6512 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1524, allocations: 132.4 kB / 0.6513 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.1525, allocations: 8 kB / 0.6513 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1527, allocations: 15.98 kB / 0.6513 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.1528, allocations: 23.97 kB / 0.6513 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001012/0.1538, allocations: 0.5247 MB / 0.6518 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009134/0.1547, allocations: 0.7204 MB / 0.6525 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002571/0.155, allocations: 168.4 kB / 0.6527 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003476/0.1553, allocations: 355.1 kB / 0.653 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of Backend: time 3.1e-07/0.1553, allocations: 0 / 0.653 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.156, allocations: 290 kB / 0.6533 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001806/0.1578, allocations: 1.624 MB / 0.6549 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.6111/0.7689, allocations: 6.904 MB / 0.6616 GB, free: 6.531 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)