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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001233/0.001233, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.683/0.683, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.7 kB / 0.5584 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 76.19 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002267/0.1513, allocations: 1.422 MB / 0.6342 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1552, allocations: 2.891 MB / 0.637 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1553, allocations: 4 kB / 0.637 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1553, allocations: 3.938 kB / 0.637 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.1554, allocations: 15.84 kB / 0.637 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.1587, allocations: 1.593 MB / 0.6386 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.1588, allocations: 47.69 kB / 0.6386 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1589, allocations: 7.984 kB / 0.6387 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.1589, allocations: 11.94 kB / 0.6387 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.901e-05/0.1589, allocations: 27.81 kB / 0.6387 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.1589, allocations: 0 / 0.6387 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.1609, allocations: 1.529 MB / 0.6402 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1609, allocations: 0 / 0.6402 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.161, allocations: 23.88 kB / 0.6402 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1623, allocations: 1.111 MB / 0.6413 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1623, allocations: 0 / 0.6413 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1623, allocations: 3.938 kB / 0.6413 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1623, allocations: 4 kB / 0.6413 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.0005613/0.1629, allocations: 0.5185 MB / 0.6418 GB, free: 11.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1629, allocations: 12.03 kB / 0.6418 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.163, allocations: 80.2 kB / 0.6419 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1631, allocations: 249.1 kB / 0.6421 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.1632, allocations: 150.9 kB / 0.6423 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.1632, allocations: 154.9 kB / 0.6424 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.087e-05/0.1633, allocations: 121 kB / 0.6425 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.1633, allocations: 75.28 kB / 0.6426 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1634, allocations: 150.6 kB / 0.6428 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.1634, allocations: 150.6 kB / 0.6429 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.1635, allocations: 150.6 kB / 0.643 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.1638, allocations: 469.8 kB / 0.6435 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.1639, allocations: 173.1 kB / 0.6437 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.1639, allocations: 80.14 kB / 0.6437 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1639, allocations: 79.27 kB / 0.6438 GB, free: 8.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.164, allocations: 113.8 kB / 0.6439 GB, free: 8.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.164, allocations: 0 / 0.6439 GB, free: 8.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.777e-05/0.1641, allocations: 33.7 kB / 0.644 GB, free: 8.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1641, allocations: 126.7 kB / 0.6441 GB, free: 8.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1642, allocations: 135.2 kB / 0.6442 GB, free: 8.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1643, allocations: 25.7 kB / 0.6442 GB, free: 8.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.1643, allocations: 96.12 kB / 0.6443 GB, free: 8.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.1643, allocations: 0 / 0.6443 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1644, allocations: 21.72 kB / 0.6443 GB, free: 8.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1645, allocations: 318.9 kB / 0.6446 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.1645, allocations: 8 kB / 0.6446 GB, free: 8.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.1645, allocations: 4 kB / 0.6447 GB, free: 8.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.1646, allocations: 20.92 kB / 0.6447 GB, free: 7.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1646, allocations: 0 / 0.6447 GB, free: 7.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.1647, allocations: 53.55 kB / 0.6447 GB, free: 7.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1648, allocations: 4 kB / 0.6447 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.1648, allocations: 7.984 kB / 0.6447 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1648, allocations: 4.062 kB / 0.6447 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.1648, allocations: 7.875 kB / 0.6447 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1648, allocations: 0 / 0.6447 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.1648, allocations: 4 kB / 0.6448 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1649, allocations: 0 / 0.6448 GB, free: 7.895 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 0.0001036/0.165, allocations: 181.1 kB / 0.6449 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.165, allocations: 112.8 kB / 0.645 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.1651, allocations: 116.8 kB / 0.6451 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.846e-05/0.1652, allocations: 184.2 kB / 0.6453 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/0.1652, allocations: 176.3 kB / 0.6455 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.428e-05/0.1653, allocations: 184.1 kB / 0.6457 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1655, allocations: 413.2 kB / 0.6461 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/0.1656, allocations: 112.8 kB / 0.6462 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1656, allocations: 105 kB / 0.6463 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-05/0.1657, allocations: 184.2 kB / 0.6464 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.1657, allocations: 180.2 kB / 0.6466 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.707e-05/0.1658, allocations: 176.3 kB / 0.6468 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-05/0.1658, allocations: 188.2 kB / 0.647 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.166, allocations: 303.8 kB / 0.6472 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.1661, allocations: 189.9 kB / 0.6474 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.1661, allocations: 192.2 kB / 0.6476 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1662, allocations: 104.9 kB / 0.6477 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.1663, allocations: 180.3 kB / 0.6479 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.1663, allocations: 105 kB / 0.648 GB, free: 4.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.1664, allocations: 101.5 kB / 0.6481 GB, free: 4.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1664, allocations: 0 / 0.6481 GB, free: 4.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.167, allocations: 279.8 kB / 0.6483 GB, free: 3.98 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.0009469/0.168, allocations: 0.5509 MB / 0.6489 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.1681, allocations: 41.7 kB / 0.6489 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1681, allocations: 0 / 0.6489 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1681, allocations: 0 / 0.6489 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1685, allocations: 464.3 kB / 0.6494 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.1689, allocations: 273.5 kB / 0.6496 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1691, allocations: 0.6807 MB / 0.6503 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.1691, allocations: 11.44 kB / 0.6503 GB, free: 1.898 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1691, allocations: 0 / 0.6503 GB, free: 1.898 MB / 494.1 MB Notification: Performance of Templates: time 0.00677/0.1759, allocations: 4.751 MB / 0.6549 GB, free: 13.15 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)