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.005989/0.005989, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001375/0.001374, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 291 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 99.83 kB / 0.6815 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4169, allocations: 86.97 MB / 0.7665 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002244/0.4192, allocations: 1.435 MB / 0.7679 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.4232, allocations: 2.904 MB / 0.7707 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.4233, allocations: 0 / 0.7707 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.4233, allocations: 7.922 kB / 0.7707 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.4234, allocations: 15.86 kB / 0.7707 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.4269, allocations: 1.568 MB / 0.7723 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.727e-05/0.427, allocations: 43.67 kB / 0.7723 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.427, allocations: 8 kB / 0.7723 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.4271, allocations: 11.94 kB / 0.7723 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.4271, allocations: 23.91 kB / 0.7723 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.4271, allocations: 0 / 0.7723 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.4291, allocations: 1.529 MB / 0.7738 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.4292, allocations: 7.938 kB / 0.7738 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.4292, allocations: 27.84 kB / 0.7739 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4305, allocations: 1.094 MB / 0.7749 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4305, allocations: 0 / 0.7749 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4305, allocations: 4 kB / 0.7749 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4305, allocations: 0 / 0.7749 GB, free: 11.25 MB / 0.545 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.0005447/0.431, allocations: 0.5224 MB / 0.7754 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4311, allocations: 8.031 kB / 0.7755 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.4311, allocations: 80.22 kB / 0.7755 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.4313, allocations: 255.4 kB / 0.7758 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.4313, allocations: 150.9 kB / 0.7759 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.4314, allocations: 154.9 kB / 0.7761 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.638e-05/0.4315, allocations: 109.1 kB / 0.7762 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.4315, allocations: 75.28 kB / 0.7762 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.4316, allocations: 150.6 kB / 0.7764 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/0.4316, allocations: 158.5 kB / 0.7765 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.4317, allocations: 154.6 kB / 0.7767 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.4319, allocations: 469.9 kB / 0.7771 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.432, allocations: 165.1 kB / 0.7773 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.4321, allocations: 80.14 kB / 0.7774 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4321, allocations: 79.22 kB / 0.7774 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.4321, allocations: 117.7 kB / 0.7776 GB, free: 8.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4321, allocations: 0 / 0.7776 GB, free: 8.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.387e-05/0.4322, allocations: 29.7 kB / 0.7776 GB, free: 8.363 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4323, allocations: 126.7 kB / 0.7777 GB, free: 8.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4324, allocations: 140.7 kB / 0.7778 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.4324, allocations: 29.69 kB / 0.7779 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.4325, allocations: 96.09 kB / 0.778 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.4325, allocations: 4 kB / 0.778 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.4325, allocations: 17.72 kB / 0.778 GB, free: 7.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.4326, allocations: 318.8 kB / 0.7783 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.4327, allocations: 4 kB / 0.7783 GB, free: 7.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.4327, allocations: 8 kB / 0.7783 GB, free: 7.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.4327, allocations: 12.8 kB / 0.7783 GB, free: 7.574 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4327, allocations: 0 / 0.7783 GB, free: 7.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.4329, allocations: 61.53 kB / 0.7784 GB, free: 7.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4329, allocations: 8.062 kB / 0.7784 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4329, allocations: 4 kB / 0.7784 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4329, allocations: 0 / 0.7784 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.4329, allocations: 0 / 0.7784 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4329, allocations: 4 kB / 0.7784 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.433, allocations: 3.938 kB / 0.7784 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.433, allocations: 0 / 0.7784 GB, free: 7.488 MB / 0.545 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 9.197e-05/0.4331, allocations: 188.8 kB / 0.7786 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.4331, allocations: 116.8 kB / 0.7787 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.4332, allocations: 112.9 kB / 0.7788 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/0.4332, allocations: 188.2 kB / 0.779 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.793e-05/0.4333, allocations: 180.2 kB / 0.7791 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.244e-05/0.4334, allocations: 184.2 kB / 0.7793 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.4336, allocations: 409.2 kB / 0.7797 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.4336, allocations: 112.9 kB / 0.7798 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.4337, allocations: 108.9 kB / 0.7799 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.744e-05/0.4337, allocations: 176.3 kB / 0.7801 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.4338, allocations: 180.3 kB / 0.7802 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.103e-05/0.4338, allocations: 184.2 kB / 0.7804 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.633e-05/0.4339, allocations: 180.3 kB / 0.7806 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.434, allocations: 315.6 kB / 0.7809 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.4341, allocations: 190 kB / 0.7811 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.4342, allocations: 180.2 kB / 0.7813 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.4343, allocations: 101 kB / 0.7813 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.4343, allocations: 188.2 kB / 0.7815 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.4344, allocations: 109 kB / 0.7816 GB, free: 3.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.4344, allocations: 99.25 kB / 0.7817 GB, free: 3.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4344, allocations: 0 / 0.7817 GB, free: 3.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006607/0.4351, allocations: 283.8 kB / 0.782 GB, free: 3.562 MB / 0.545 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.0009958/0.4361, allocations: 0.5342 MB / 0.7825 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4362, allocations: 41.64 kB / 0.7826 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4362, allocations: 3.938 kB / 0.7826 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.4362, allocations: 4 kB / 0.7826 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.4366, allocations: 475.1 kB / 0.783 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.4369, allocations: 236.1 kB / 0.7832 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.4371, allocations: 0.6807 MB / 0.7839 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.4371, allocations: 3.984 kB / 0.7839 GB, free: 1.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.4372, allocations: 11.44 kB / 0.7839 GB, free: 1.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4372, allocations: 4 kB / 0.7839 GB, free: 1.516 MB / 0.545 GB Notification: Performance of Templates: time 0.008621/0.4458, allocations: 5.609 MB / 0.7894 GB, free: 11.96 MB / 0.5606 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)