Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001312/0.001312, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7418/0.7418, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 62.75 kB / 0.5863 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 80.92 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003922/0.1273, allocations: 3.015 MB / 0.6683 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1299, allocations: 2.152 MB / 0.6704 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1301, allocations: 8 kB / 0.6704 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.1314, allocations: 0.4938 MB / 0.6709 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1317, allocations: 150.8 kB / 0.671 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.1318, allocations: 63.94 kB / 0.6711 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.1322, allocations: 449.8 kB / 0.6715 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.1325, allocations: 151.2 kB / 0.6717 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1327, allocations: 159.4 kB / 0.6718 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1329, allocations: 183.1 kB / 0.672 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1329, allocations: 36 kB / 0.672 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.133, allocations: 32 kB / 0.672 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1331, allocations: 103.7 kB / 0.6721 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.1333, allocations: 218.9 kB / 0.6724 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.1338, allocations: 0.5488 MB / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1338, allocations: 0 / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1338, allocations: 0 / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.1338, allocations: 0 / 0.6729 GB, free: 14.14 MB / 0.5137 GB 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.0009718/0.1348, allocations: 0.7006 MB / 0.6736 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1348, allocations: 9.109 kB / 0.6736 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.1349, allocations: 48.38 kB / 0.6736 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.1354, allocations: 370.2 kB / 0.674 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1354, allocations: 20.81 kB / 0.674 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1355, allocations: 23.84 kB / 0.674 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1358, allocations: 211.2 kB / 0.6742 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1359, allocations: 4 kB / 0.6742 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1359, allocations: 8 kB / 0.6742 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1359, allocations: 8 kB / 0.6742 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1362, allocations: 157.7 kB / 0.6744 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1373, allocations: 0.8623 MB / 0.6752 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1376, allocations: 154.5 kB / 0.6754 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1378, allocations: 111.9 kB / 0.6755 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1378, allocations: 4 kB / 0.6755 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1379, allocations: 42.5 kB / 0.6755 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.1379, allocations: 0 / 0.6755 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005276/0.1384, allocations: 251.3 kB / 0.6758 GB, free: 11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1384, allocations: 55.41 kB / 0.6758 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.1389, allocations: 421.6 kB / 0.6762 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1389, allocations: 33.7 kB / 0.6763 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.139, allocations: 208.2 kB / 0.6765 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1391, allocations: 63.09 kB / 0.6765 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1391, allocations: 29.72 kB / 0.6766 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1393, allocations: 350.8 kB / 0.6769 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1394, allocations: 51.97 kB / 0.6769 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1395, allocations: 58.38 kB / 0.677 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1398, allocations: 136.8 kB / 0.6771 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1398, allocations: 0 / 0.6771 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003433/0.1401, allocations: 215.4 kB / 0.6773 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1402, allocations: 7.938 kB / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1402, allocations: 0 / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1402, allocations: 0 / 0.6773 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1404, allocations: 63.94 kB / 0.6774 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1405, allocations: 4 kB / 0.6774 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1406, allocations: 11.84 kB / 0.6774 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1406, allocations: 8 kB / 0.6774 GB, free: 9.266 MB / 0.5137 GB 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.0001394/0.1407, allocations: 165.8 kB / 0.6776 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1408, allocations: 43.47 kB / 0.6776 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.1409, allocations: 39.59 kB / 0.6777 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1409, allocations: 0 / 0.6777 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1409, allocations: 3.984 kB / 0.6777 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1409, allocations: 4 kB / 0.6777 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1413, allocations: 365.4 kB / 0.678 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1413, allocations: 4 kB / 0.678 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.1415, allocations: 59.83 kB / 0.6781 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1415, allocations: 0 / 0.6781 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1415, allocations: 8 kB / 0.6781 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1415, allocations: 0 / 0.6781 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1416, allocations: 3.984 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.1421, allocations: 376.5 kB / 0.6784 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.1422, allocations: 120.5 kB / 0.6786 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1422, allocations: 8 kB / 0.6786 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1424, allocations: 11.98 kB / 0.6786 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1424, allocations: 11.98 kB / 0.6786 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1424, allocations: 7.938 kB / 0.6786 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002907/0.1427, allocations: 307.2 kB / 0.6789 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1427, allocations: 4 kB / 0.6789 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002761/0.143, allocations: 71.84 kB / 0.679 GB, free: 7.59 MB / 0.5137 GB 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.0001208/0.1432, allocations: 108.5 kB / 0.6791 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.1435, allocations: 143.9 kB / 0.6792 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1435, allocations: 0 / 0.6792 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1437, allocations: 83.81 kB / 0.6793 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.1442, allocations: 87.36 kB / 0.6794 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1453, allocations: 0.7786 MB / 0.6801 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.1458, allocations: 0.7951 MB / 0.6809 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.1459, allocations: 23.44 kB / 0.6809 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1459, allocations: 0 / 0.6809 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.006014/0.1519, allocations: 4.389 MB / 0.6852 GB, free: 1.152 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)