Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00706/0.00706, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001698/0.001698, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 294.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 91.84 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 86.98 MB / 0.7665 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002227/0.141, allocations: 1.437 MB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.1449, allocations: 2.907 MB / 0.7707 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.1449, allocations: 0 / 0.7707 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1449, allocations: 3.938 kB / 0.7707 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.145, allocations: 19.84 kB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.1483, allocations: 1.566 MB / 0.7723 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.1484, allocations: 43.67 kB / 0.7723 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.1484, allocations: 4 kB / 0.7723 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.1485, allocations: 19.94 kB / 0.7723 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.598e-05/0.1485, allocations: 23.84 kB / 0.7723 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1485, allocations: 0 / 0.7723 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.1504, allocations: 1.529 MB / 0.7738 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1505, allocations: 8 kB / 0.7738 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1505, allocations: 19.86 kB / 0.7739 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2828/0.4333, allocations: 1.094 MB / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4333, allocations: 0 / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4333, allocations: 0.7188 kB / 0.7749 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4333, allocations: 3.281 kB / 0.7749 GB, free: 10.09 MB / 0.5606 GB 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.0005472/0.4339, allocations: 0.5229 MB / 0.7754 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.4339, allocations: 9.688 kB / 0.7755 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.434, allocations: 79.78 kB / 0.7755 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.434, allocations: 249.3 kB / 0.7758 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4341, allocations: 152.7 kB / 0.7759 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4341, allocations: 153.8 kB / 0.7761 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.578e-05/0.4341, allocations: 109.8 kB / 0.7762 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4342, allocations: 79.14 kB / 0.7762 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.4342, allocations: 154 kB / 0.7764 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.4342, allocations: 152.7 kB / 0.7765 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.4342, allocations: 152.6 kB / 0.7767 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.4344, allocations: 465.8 kB / 0.7771 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.4344, allocations: 173.2 kB / 0.7773 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.4345, allocations: 82.81 kB / 0.7774 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.4345, allocations: 77.8 kB / 0.7774 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4345, allocations: 111.7 kB / 0.7775 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4345, allocations: 3.75 kB / 0.7775 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.465e-05/0.4346, allocations: 32.34 kB / 0.7776 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.4346, allocations: 130.7 kB / 0.7777 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4347, allocations: 141.7 kB / 0.7778 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.4347, allocations: 25.7 kB / 0.7779 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.4348, allocations: 94.36 kB / 0.778 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.4348, allocations: 0.75 kB / 0.778 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4348, allocations: 17.84 kB / 0.778 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.4348, allocations: 318.2 kB / 0.7783 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.4349, allocations: 7.328 kB / 0.7783 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.4349, allocations: 7.781 kB / 0.7783 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.4349, allocations: 16.89 kB / 0.7783 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4349, allocations: 0.5312 kB / 0.7783 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.4351, allocations: 54.22 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4351, allocations: 5.438 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.4351, allocations: 4.125 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4351, allocations: 1.125 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.4351, allocations: 6 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4351, allocations: 0.5625 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.4352, allocations: 5.141 kB / 0.7784 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4352, allocations: 1.438 kB / 0.7784 GB, free: 6.691 MB / 0.5606 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 (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 4.463e-05/0.4352, allocations: 187.5 kB / 0.7786 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.4353, allocations: 112.8 kB / 0.7787 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.4353, allocations: 110.8 kB / 0.7788 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.4353, allocations: 178.9 kB / 0.7789 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.4353, allocations: 187.9 kB / 0.7791 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/0.4355, allocations: 180.9 kB / 0.7793 GB, free: 21.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.4356, allocations: 413.1 kB / 0.7797 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.4357, allocations: 105.8 kB / 0.7798 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.4357, allocations: 107.6 kB / 0.7799 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.978e-05/0.4358, allocations: 184 kB / 0.7801 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.4358, allocations: 177.7 kB / 0.7802 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.855e-05/0.4359, allocations: 185.1 kB / 0.7804 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.606e-05/0.4359, allocations: 180.9 kB / 0.7806 GB, free: 20.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.436, allocations: 315 kB / 0.7809 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.4361, allocations: 192.5 kB / 0.7811 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.4362, allocations: 179.5 kB / 0.7812 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.4362, allocations: 103.7 kB / 0.7813 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.4363, allocations: 181.9 kB / 0.7815 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.4363, allocations: 106.1 kB / 0.7816 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.4364, allocations: 103.2 kB / 0.7817 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4364, allocations: 0 / 0.7817 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007688/0.4372, allocations: 287.7 kB / 0.782 GB, free: 19.15 MB / 0.5762 GB 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.001008/0.4382, allocations: 0.5367 MB / 0.7825 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.4383, allocations: 42.42 kB / 0.7826 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4383, allocations: 0 / 0.7826 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.4383, allocations: 2.203 kB / 0.7826 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.4387, allocations: 465.9 kB / 0.783 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.4389, allocations: 240.9 kB / 0.7832 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.4392, allocations: 0.6824 MB / 0.7839 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.4392, allocations: 0.625 kB / 0.7839 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-06/0.4392, allocations: 13 kB / 0.7839 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.4392, allocations: 0 / 0.7839 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.009514/0.4487, allocations: 5.627 MB / 0.7894 GB, free: 17.19 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)