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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.007652/0.007652, allocations: 98.41 kB / 15.73 MB, free: 6.016 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.001639/0.001639, allocations: 194.3 kB / 16.67 MB, free: 5.949 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 279.1 kB / 290.8 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 95.89 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1679, allocations: 86.97 MB / 0.766 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002688/0.1707, allocations: 1.434 MB / 0.7674 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.1754, allocations: 2.9 MB / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.1754, allocations: 0 / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1755, allocations: 3.938 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.1756, allocations: 19.84 kB / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.1799, allocations: 1.58 MB / 0.7718 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.18, allocations: 43.73 kB / 0.7718 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.1801, allocations: 7.906 kB / 0.7718 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.1801, allocations: 19.92 kB / 0.7718 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.1801, allocations: 15.88 kB / 0.7719 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1802, allocations: 0 / 0.7719 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.1828, allocations: 1.538 MB / 0.7734 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1828, allocations: 7.984 kB / 0.7734 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1828, allocations: 15.88 kB / 0.7734 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1848, allocations: 1.107 MB / 0.7745 GB, free: 164 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1848, allocations: 0 / 0.7745 GB, free: 164 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1848, allocations: 4 kB / 0.7745 GB, free: 160 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.1848, allocations: 0 / 0.7745 GB, free: 160 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.371/0.5558, allocations: 0.5056 MB / 0.775 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.5559, allocations: 10.44 kB / 0.775 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.5559, allocations: 106.8 kB / 0.7751 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.556, allocations: 85.05 kB / 0.7752 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.5561, allocations: 246 kB / 0.7754 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.5562, allocations: 157.3 kB / 0.7755 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.5562, allocations: 152.7 kB / 0.7757 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.711e-05/0.5563, allocations: 105 kB / 0.7758 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5563, allocations: 85.52 kB / 0.7759 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.5563, allocations: 151.5 kB / 0.776 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.5564, allocations: 150.6 kB / 0.7762 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.5564, allocations: 156.5 kB / 0.7763 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.5567, allocations: 469.9 kB / 0.7767 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.5568, allocations: 172.8 kB / 0.7769 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.5568, allocations: 80.14 kB / 0.777 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.5568, allocations: 78.09 kB / 0.7771 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5568, allocations: 108.3 kB / 0.7772 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.664e-06/0.5569, allocations: 0 / 0.7772 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.159e-05/0.557, allocations: 37.47 kB / 0.7772 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.557, allocations: 128.3 kB / 0.7773 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.5572, allocations: 138.4 kB / 0.7775 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.5572, allocations: 26.33 kB / 0.7775 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.5572, allocations: 91.45 kB / 0.7776 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.5573, allocations: 3.781 kB / 0.7776 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.5573, allocations: 18.59 kB / 0.7776 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.5574, allocations: 321.8 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.5574, allocations: 3.578 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.5574, allocations: 7.234 kB / 0.7779 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.5575, allocations: 16.08 kB / 0.7779 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5575, allocations: 2.906 kB / 0.7779 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001629/0.5577, allocations: 55.39 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5577, allocations: 9.531 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.5577, allocations: 3.766 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5578, allocations: 1.594 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.5578, allocations: 0.6875 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5578, allocations: 1.453 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.5578, allocations: 1.312 kB / 0.778 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5578, allocations: 1.969 kB / 0.778 GB, free: 11.56 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 6.04e-05/0.5579, allocations: 185.6 kB / 0.7782 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.558, allocations: 117.2 kB / 0.7783 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.558, allocations: 114.6 kB / 0.7784 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.558, allocations: 178.3 kB / 0.7786 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.5581, allocations: 181 kB / 0.7787 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.5581, allocations: 179.1 kB / 0.7789 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.5583, allocations: 418.9 kB / 0.7793 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.5583, allocations: 106.4 kB / 0.7794 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.5584, allocations: 106.2 kB / 0.7795 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-05/0.5584, allocations: 187 kB / 0.7797 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5584, allocations: 179.7 kB / 0.7799 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-05/0.5585, allocations: 183.9 kB / 0.78 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-05/0.5585, allocations: 176.8 kB / 0.7802 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.844e-05/0.5586, allocations: 310.5 kB / 0.7805 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.5586, allocations: 193.1 kB / 0.7807 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.5587, allocations: 179.7 kB / 0.7809 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.5588, allocations: 109.1 kB / 0.781 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.5588, allocations: 186.4 kB / 0.7811 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5588, allocations: 102.1 kB / 0.7812 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.5589, allocations: 100.3 kB / 0.7813 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5589, allocations: 0.7812 kB / 0.7813 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001155/0.5601, allocations: 281.2 kB / 0.7816 GB, free: 8.02 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.001745/0.5618, allocations: 1.179 MB / 0.7828 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.562, allocations: 42.66 kB / 0.7828 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.562, allocations: 0 / 0.7828 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.562, allocations: 1.031 kB / 0.7828 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.5624, allocations: 472.9 kB / 0.7832 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.5643, allocations: 1.595 MB / 0.7848 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5646, allocations: 0.6862 MB / 0.7855 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.5646, allocations: 1.422 kB / 0.7855 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.5646, allocations: 16.53 kB / 0.7855 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5646, allocations: 0 / 0.7855 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.5945, allocations: 7.105 MB / 0.7924 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.911, allocations: 12.83 kB / 0.7924 GB, free: 19.92 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)