Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.006236/0.006236, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00145/0.001449, allocations: 202.5 kB / 16.68 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 278.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9996/0.9996, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 95.98 kB / 0.6811 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1563, allocations: 86.98 MB / 0.766 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002753/0.1591, allocations: 1.41 MB / 0.7674 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00464/0.1638, allocations: 2.861 MB / 0.7702 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.1638, allocations: 3.938 kB / 0.7702 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.1639, allocations: 0 / 0.7702 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.164, allocations: 19.84 kB / 0.7702 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.1679, allocations: 1.562 MB / 0.7717 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.168, allocations: 43.73 kB / 0.7718 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.1681, allocations: 0 / 0.7718 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.1681, allocations: 19.86 kB / 0.7718 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.79e-05/0.1681, allocations: 19.94 kB / 0.7718 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.1681, allocations: 0 / 0.7718 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.1705, allocations: 1.486 MB / 0.7732 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1705, allocations: 7.938 kB / 0.7733 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1706, allocations: 15.88 kB / 0.7733 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.1722, allocations: 1.076 MB / 0.7743 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1722, allocations: 0 / 0.7743 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1723, allocations: 0 / 0.7743 GB, free: 340 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1723, allocations: 0 / 0.7743 GB, free: 340 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.281/0.4533, allocations: 0.5304 MB / 0.7748 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4533, allocations: 9.688 kB / 0.7748 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.4534, allocations: 106 kB / 0.7749 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.4534, allocations: 78.5 kB / 0.775 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.85e-05/0.4535, allocations: 258.3 kB / 0.7753 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.4536, allocations: 152.1 kB / 0.7754 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4536, allocations: 154 kB / 0.7756 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.027e-05/0.4536, allocations: 108 kB / 0.7757 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4537, allocations: 82.59 kB / 0.7757 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4537, allocations: 154.7 kB / 0.7759 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.4537, allocations: 151.2 kB / 0.776 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.4537, allocations: 152.4 kB / 0.7762 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.4539, allocations: 463.3 kB / 0.7766 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.454, allocations: 171.4 kB / 0.7768 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.454, allocations: 82.31 kB / 0.7769 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.454, allocations: 75.28 kB / 0.7769 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4541, allocations: 110.6 kB / 0.777 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4541, allocations: 0 / 0.777 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.751e-05/0.4541, allocations: 38.64 kB / 0.7771 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.4542, allocations: 130.8 kB / 0.7772 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4543, allocations: 129.2 kB / 0.7773 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.4543, allocations: 27.19 kB / 0.7773 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.4543, allocations: 92.05 kB / 0.7774 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.4543, allocations: 0.875 kB / 0.7774 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.4544, allocations: 15.88 kB / 0.7775 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.4544, allocations: 323.7 kB / 0.7778 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.4544, allocations: 3.641 kB / 0.7778 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.4545, allocations: 7.594 kB / 0.7778 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.4545, allocations: 14.23 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4545, allocations: 1.094 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.4546, allocations: 49.73 kB / 0.7778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4546, allocations: 12 kB / 0.7778 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.4547, allocations: 2.484 kB / 0.7778 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4547, allocations: 1.875 kB / 0.7778 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.4547, allocations: 2.125 kB / 0.7779 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4547, allocations: 0 / 0.7779 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.4547, allocations: 2.5 kB / 0.7779 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.4547, allocations: 1.25 kB / 0.7779 GB, free: 11.55 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.457e-05/0.4548, allocations: 185.7 kB / 0.778 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4548, allocations: 118.4 kB / 0.7781 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.4549, allocations: 114.1 kB / 0.7783 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4549, allocations: 178.2 kB / 0.7784 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.4549, allocations: 181.8 kB / 0.7786 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.4549, allocations: 189.4 kB / 0.7788 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.4551, allocations: 412.6 kB / 0.7792 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.4551, allocations: 106.4 kB / 0.7793 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.4551, allocations: 106.7 kB / 0.7794 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.4551, allocations: 186.6 kB / 0.7796 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4552, allocations: 182 kB / 0.7797 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/0.4552, allocations: 178.7 kB / 0.7799 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.4552, allocations: 182.7 kB / 0.7801 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.563e-05/0.4553, allocations: 309.2 kB / 0.7804 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.4553, allocations: 189.5 kB / 0.7805 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.4553, allocations: 181.6 kB / 0.7807 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.4554, allocations: 106.8 kB / 0.7808 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.4554, allocations: 181.5 kB / 0.781 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4555, allocations: 106.6 kB / 0.7811 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.4555, allocations: 97.02 kB / 0.7812 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4555, allocations: 0 / 0.7812 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000893/0.4564, allocations: 283.1 kB / 0.7815 GB, free: 8.047 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.001043/0.4575, allocations: 1.172 MB / 0.7826 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.4576, allocations: 39.38 kB / 0.7826 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4576, allocations: 1.219 kB / 0.7826 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4576, allocations: 4.938 kB / 0.7826 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4579, allocations: 463.5 kB / 0.7831 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4591, allocations: 1.584 MB / 0.7846 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.4594, allocations: 0.6827 MB / 0.7853 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.4594, allocations: 0.75 kB / 0.7853 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.4595, allocations: 17.72 kB / 0.7853 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4595, allocations: 0 / 0.7853 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.535/0.9945, allocations: 6.88 MB / 0.792 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.03, allocations: 4.234 kB / 0.792 GB, free: 19.98 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)