Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004773/0.004773, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001293/0.001293, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 286.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 100.1 kB / 0.6811 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1629, allocations: 86.97 MB / 0.766 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00269/0.1656, allocations: 1.42 MB / 0.7674 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005043/0.1707, allocations: 2.861 MB / 0.7702 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.1708, allocations: 0 / 0.7702 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.1708, allocations: 3.938 kB / 0.7702 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.243e-05/0.1709, allocations: 15.84 kB / 0.7702 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.1758, allocations: 1.558 MB / 0.7717 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1759, allocations: 43.69 kB / 0.7717 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.176, allocations: 15.91 kB / 0.7718 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.176, allocations: 11.94 kB / 0.7718 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1761, allocations: 11.94 kB / 0.7718 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1761, allocations: 0 / 0.7718 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.1787, allocations: 1.49 MB / 0.7732 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1787, allocations: 3.938 kB / 0.7732 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.1788, allocations: 27.84 kB / 0.7733 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.1806, allocations: 1.064 MB / 0.7743 GB, free: 372 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1806, allocations: 4 kB / 0.7743 GB, free: 368 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1807, allocations: 0 / 0.7743 GB, free: 368 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1807, allocations: 0 / 0.7743 GB, free: 368 kB / 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.2833/0.464, allocations: 0.5265 MB / 0.7748 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.464, allocations: 8.938 kB / 0.7748 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.4641, allocations: 109.5 kB / 0.7749 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4641, allocations: 78.25 kB / 0.775 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.4642, allocations: 253.9 kB / 0.7753 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4642, allocations: 153.3 kB / 0.7754 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.4643, allocations: 154.8 kB / 0.7756 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.901e-05/0.4643, allocations: 109.6 kB / 0.7757 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4643, allocations: 81.53 kB / 0.7757 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.4643, allocations: 152.4 kB / 0.7759 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.4644, allocations: 153.7 kB / 0.776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.4644, allocations: 152.5 kB / 0.7762 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4646, allocations: 464 kB / 0.7766 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.4646, allocations: 171 kB / 0.7768 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.4647, allocations: 83.36 kB / 0.7769 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4647, allocations: 75.28 kB / 0.7769 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4647, allocations: 107.8 kB / 0.777 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4647, allocations: 0 / 0.777 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.651e-05/0.4648, allocations: 43.53 kB / 0.7771 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.4648, allocations: 128 kB / 0.7772 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4649, allocations: 131.8 kB / 0.7773 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-06/0.4649, allocations: 26.3 kB / 0.7773 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.465, allocations: 91.84 kB / 0.7774 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.465, allocations: 2.031 kB / 0.7774 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.465, allocations: 18.25 kB / 0.7775 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.4651, allocations: 318.8 kB / 0.7778 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.4651, allocations: 3.438 kB / 0.7778 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.4651, allocations: 4.344 kB / 0.7778 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.4651, allocations: 19.3 kB / 0.7778 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4651, allocations: 0 / 0.7778 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.4653, allocations: 52.77 kB / 0.7778 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4653, allocations: 9.875 kB / 0.7778 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4653, allocations: 3.609 kB / 0.7778 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4653, allocations: 3.781 kB / 0.7778 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.173e-06/0.4653, allocations: 0.5625 kB / 0.7778 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.4653, allocations: 0.9062 kB / 0.7779 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.4654, allocations: 1.188 kB / 0.7779 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4654, allocations: 1.719 kB / 0.7779 GB, free: 11.18 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.5e-05/0.4654, allocations: 184 kB / 0.778 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.4655, allocations: 118.9 kB / 0.7781 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.4655, allocations: 111.9 kB / 0.7782 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.4655, allocations: 182.4 kB / 0.7784 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.4656, allocations: 181.3 kB / 0.7786 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.4656, allocations: 179.1 kB / 0.7788 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.4657, allocations: 416.9 kB / 0.7792 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.4657, allocations: 107 kB / 0.7793 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.4658, allocations: 109.8 kB / 0.7794 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/0.4658, allocations: 185.4 kB / 0.7795 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4658, allocations: 178.1 kB / 0.7797 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/0.4658, allocations: 182.8 kB / 0.7799 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/0.4659, allocations: 179 kB / 0.7801 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.886e-05/0.4659, allocations: 308.7 kB / 0.7804 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.466, allocations: 188.9 kB / 0.7805 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.466, allocations: 184.4 kB / 0.7807 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.4661, allocations: 102.1 kB / 0.7808 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.4661, allocations: 192.9 kB / 0.781 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4661, allocations: 103.9 kB / 0.7811 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.4662, allocations: 96.64 kB / 0.7812 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 0.7812 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008667/0.467, allocations: 284.2 kB / 0.7815 GB, free: 7.676 MB / 0.5606 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.001042/0.4681, allocations: 1.169 MB / 0.7826 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.957e-05/0.4682, allocations: 37.83 kB / 0.7826 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4682, allocations: 3.75 kB / 0.7826 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.4682, allocations: 1.594 kB / 0.7826 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.4685, allocations: 466.4 kB / 0.7831 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4699, allocations: 1.586 MB / 0.7846 GB, free: 20.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.4702, allocations: 0.682 MB / 0.7853 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.4702, allocations: 0.8438 kB / 0.7853 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.4703, allocations: 17.73 kB / 0.7853 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.4703, allocations: 0 / 0.7853 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.5005, allocations: 6.889 MB / 0.792 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.469, allocations: 12.44 kB / 0.7921 GB, free: 19.61 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)