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.006617/0.006617, allocations: 100.4 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.001466/0.001467, allocations: 187.6 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 275.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.9533/0.9533, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 104 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, 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.InternalResistancesOneUTubeNegative): time 0.002524/0.1691, allocations: 1.424 MB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0046/0.1737, allocations: 2.861 MB / 0.7702 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1738, allocations: 4 kB / 0.7702 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.1738, allocations: 0 / 0.7702 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.1739, allocations: 23.78 kB / 0.7702 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.1778, allocations: 1.541 MB / 0.7717 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.1779, allocations: 47.67 kB / 0.7717 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1779, allocations: 3.984 kB / 0.7718 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.178, allocations: 15.94 kB / 0.7718 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.527e-05/0.178, allocations: 11.94 kB / 0.7718 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.178, allocations: 0 / 0.7718 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.1802, allocations: 1.492 MB / 0.7732 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.1802, allocations: 7.922 kB / 0.7732 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1802, allocations: 19.86 kB / 0.7733 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.1818, allocations: 1.072 MB / 0.7743 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1819, allocations: 0 / 0.7743 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1819, allocations: 0 / 0.7743 GB, free: 344 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1819, allocations: 0 / 0.7743 GB, free: 344 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.3028/0.4847, allocations: 0.5098 MB / 0.7748 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4848, allocations: 11.62 kB / 0.7748 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.4848, allocations: 106 kB / 0.7749 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.4849, allocations: 84.31 kB / 0.775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.485, allocations: 247.3 kB / 0.7752 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.485, allocations: 152.5 kB / 0.7754 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.485, allocations: 158.8 kB / 0.7755 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.934e-05/0.4851, allocations: 107.9 kB / 0.7756 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4851, allocations: 80.09 kB / 0.7757 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.4851, allocations: 151.2 kB / 0.7759 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4851, allocations: 151.8 kB / 0.776 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.4852, allocations: 152 kB / 0.7761 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.4854, allocations: 466.2 kB / 0.7766 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.4854, allocations: 173.8 kB / 0.7768 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.4855, allocations: 80.14 kB / 0.7768 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.4855, allocations: 75.84 kB / 0.7769 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4855, allocations: 108.5 kB / 0.777 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4855, allocations: 1.938 kB / 0.777 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.296e-05/0.4856, allocations: 37.88 kB / 0.777 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4856, allocations: 128.5 kB / 0.7772 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4858, allocations: 136.8 kB / 0.7773 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.4858, allocations: 26.8 kB / 0.7773 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.4858, allocations: 98.05 kB / 0.7774 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.4858, allocations: 3.906 kB / 0.7774 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.4859, allocations: 18.08 kB / 0.7774 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.4859, allocations: 321.8 kB / 0.7777 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.486, allocations: 3.922 kB / 0.7777 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.486, allocations: 4.328 kB / 0.7778 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.486, allocations: 16.09 kB / 0.7778 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.486, allocations: 3 kB / 0.7778 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.4862, allocations: 46.08 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4862, allocations: 11.03 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.4862, allocations: 2.812 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4862, allocations: 0.5 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.4862, allocations: 3.844 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4863, allocations: 1.234 kB / 0.7778 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.4863, allocations: 5.719 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.4863, allocations: 1.641 kB / 0.7778 GB, free: 11.58 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 5.757e-05/0.4864, allocations: 183.7 kB / 0.778 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.4864, allocations: 110.2 kB / 0.7781 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4865, allocations: 121.4 kB / 0.7782 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.4865, allocations: 177.8 kB / 0.7784 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.591e-05/0.4865, allocations: 179.1 kB / 0.7786 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.4865, allocations: 181 kB / 0.7787 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.4867, allocations: 415.8 kB / 0.7791 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.4867, allocations: 111.2 kB / 0.7793 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.4867, allocations: 106.5 kB / 0.7794 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.802e-05/0.4868, allocations: 185.9 kB / 0.7795 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.4868, allocations: 177.8 kB / 0.7797 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.44e-05/0.4868, allocations: 180.1 kB / 0.7799 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-05/0.4869, allocations: 185.5 kB / 0.78 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.4869, allocations: 309.8 kB / 0.7803 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.487, allocations: 189.1 kB / 0.7805 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.487, allocations: 182.7 kB / 0.7807 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.4871, allocations: 106.7 kB / 0.7808 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.4871, allocations: 182.3 kB / 0.781 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.4871, allocations: 106.7 kB / 0.7811 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.4872, allocations: 96.45 kB / 0.7812 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4872, allocations: 0 / 0.7812 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009043/0.4881, allocations: 278.8 kB / 0.7814 GB, free: 8.062 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.001131/0.4892, allocations: 1.156 MB / 0.7826 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.4893, allocations: 40.88 kB / 0.7826 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4894, allocations: 0 / 0.7826 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.4894, allocations: 1.328 kB / 0.7826 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.4897, allocations: 471.5 kB / 0.7831 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.491, allocations: 1.579 MB / 0.7846 GB, free: 21.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.4913, allocations: 0.6865 MB / 0.7853 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.4913, allocations: 0.5625 kB / 0.7853 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4913, allocations: 14.33 kB / 0.7853 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.4913, allocations: 0 / 0.7853 GB, free: 20.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.5197, allocations: 6.903 MB / 0.792 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.128, allocations: 14.77 kB / 0.792 GB, free: 20.02 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)